Toronto has elected a moderate conservative as mayor, ending the scandal-ridden Rob Ford era.
John Tory won 40 per cent of the vote, compared to 34 per cent for Doug Ford, brother of outgoing Mayor Rob Ford. Left-leaning Olivia Chow was third with nearly 23 per cent.
The results were announced on Monday night with more than 90 per cent of polling stations reporting.
Rob Ford's four-year tenure as mayor of Canada's largest city was marred by his drinking and crack cocaine use.
He announced last month that he wouldn't seek re-election as he battles a rare form of cancer. His brother, a city councilor, ran in his place.
Despite the cancer, Ford opted to seek the City Council seat from the Etobicoke district where he launched his political career. He won his old seat in a landslide.
After months of denials, the mayor in 2013 acknowledged he had smoked crack cocaine in one of his "drunken stupors", but he refused to resign.
The City Council stripped Ford of most of his powers but lacked the authority to force him out of office because he wasn't convicted of a crime.
Ford announced he was entering rehab for drugs and alcohol in April 2014 after newspaper reports detailed three nights in which he was extremely intoxicated.
One report was about a video that appeared to show him smoking a crack pipe again - nearly a year after reports of a similar video first brought him to international attention.