TORONTO (Reuters) - Canadian mergers and acquisitions got off to their strongest start in 17 years in 2017 as cross-border deal activity picked up pace, with JPMorgan (>> JPMorgan Chase & Co.), Goldman Sachs (>> Goldman Sachs Group Inc) and RBC (>> Royal Bank of Canada) taking the top three spots in the advisory rankings.

Foreign banks further consolidated their position in Canadian deal-making as companies looked beyond borders for growth opportunities. Toronto Dominion (>> Toronto-Dominion Bank) and Lazard (>> Lazard Ltd) rounded out the top five positions in the league tables, according to Thomson Reuters data released on Thursday.

Deal value in the first quarter of 2017 jumped 12 percent to $75.4 billion (60 billion pounds), making it the best first quarter only behind the same period in 2000. Sizeable cross-border deals included AltaGas Ltd's (>> Altagas Ltd) planned acquisition of WGL Holdings (>> WGL Holdings Inc) for C$8.4 billion ($6.25 billion), and MacDonald Dettwiler and Associates Ltd's (>> Macdonald Dettwiler & Associates Ltd) C$3.1 billion deal buy U.S.-based satellite imagery provider DigitalGlobe Inc (>> DigitalGlobe Inc).

"The results are reflective of the strong market we have for cross-border deals," said David Rawlings, head of JPMorgan Canada.

Canadian companies "certainly want exposure to the United States. Our clients want to diversify outside of Canada," he added.

Energy sector deals dominated the league tables, with domestic oil companies scooping assets of foreign oil majors. ConocoPhillips (>> ConocoPhillips) agreed to sell its oil sands and natural gas assets to Cenovus Energy Inc (>> Cenovus Energy Inc) for C$17.2 billion, while Royal Dutch Shell offloaded most of its Canadian oil sands assets for $8.5 billion. Canadian Natural Resources Ltd (>> Canadian Natural Resources Limited) was the main buyer of those assets.

"The large energy deals are strategic, chessboard-type transactions," said Brian Hanson, chief executive of Lazard's Canadian investment banking division.

"We expect more energy activity and more energy consolidation, but it may not be in a straight line, particularly if energy prices are volatile," he added.

The robust first-quarter performance in Canadian M&A follows an impressive 2016, when deal volume hit a nine-year high.. Bankers are betting on more deals.

"We remain optimistic that 2017 will be a good year for Canadian M&A," said Peter Buzzi, co-head of M&A at RBC Capital Markets.

"Equity markets are close to their all-time highs and interest rates are still low by historical standards, notwithstanding the run-up since the U.S. election."

(Reporting by John Tilak; Editing by Leslie Adler)

By John Tilak