The Canadian Prime Minister Justin Trudeau has managed to just scrape over the line and win back government.
But he's lost his majority in parliament.
Still, the result for his Liberal Party was stronger than predicted in a tight race with the Conservatives.
North America correspondent James Glenday reports from Montreal.
For more from ABC News, click here: https://ab.co/2kxYCZY
If you're in Australia, you can watch more ABC News content on iview: https://ab.co/2mge4KH
Go deeper on our ABC News In-depth channel: https://ab.co/2lNeBn2