Canadian Prime Minister Justin Trudeau will remain in power but with a minority government, official results showed on Monday.
The Liberals had won or were leading in 156 out of 338 seats as of midnight EDT (0400 GMT on Tuesday), according to Elections Canada.
Trudeau needed to win 170 seats to secure a second majority government.
He will now have to rely on the New Democratic Party (NDP) to push through key legislation.
Trudeau, who took power in 2015, has seen his popularity drop over old photos of him in blackface and his handling of a corporate corruption case.

Afghanistan-Pakistan peace talks collapse, ceasefire continues, Taliban says
UPS, FedEx ground MD-11 fleets after deadly Louisville crash
US warns it could force 20% flight cuts if shutdown continues
Philippines warns of deadly storm surges as typhoon Fung-wong intensifies
Technical glitch with air traffic system at Delhi airport resolved