Toronto, Mar 10 (AP) Former central banker Mark Carney will become Canada's next prime minister after the governing Liberal Party elected him its leader Sunday as the country deals with U.S. President Donald Trump's trade war and annexation threat, and a federal election looms.

Carney, 59, replaces Prime Minister Justin Trudeau, who announced his resignation in January but remains prime minister until his successor is sworn in in the coming days.

Also Read | Elon Musk's DOGE Rolling Out GSAi Custom AI Chatbot To Automate Some Government Tasks for Federal Employees.

Carney navigated crises when he was the head of the Bank of Canada and when in 2013 he became the first noncitizen to run the Bank of England since it was founded in 1694. His appointment won bipartisan praise in the U.K. after Canada recovered from the 2008 financial crisis faster than many other countries.

The opposition Conservatives hoped to make the election about Trudeau, whose popularity declined as food and housing prices rose and immigration surged.

Also Read | US: Armed Man Shot by Secret Service Near White House While Donald Trump out of Town, Say Authorities.

Trump's trade war and his talk of making Canada the 51st U.S. state have infuriated Canadians, who are booing the American anthem at NHL and NBA games. Some are canceling trips south of the border, and many are avoiding buying American goods when they can.

The surge in Canadian nationalism has bolstered the Liberal Party's chances in a parliamentary election expected within days or weeks. (AP)

(The above story is verified and authored by Press Trust of India (PTI) staff. PTI, India’s premier news agency, employs more than 400 journalists and 500 stringers to cover almost every district and small town in India.. The views appearing in the above post do not reflect the opinions of LatestLY)