May 10 (UPI) -- Despite setbacks to the ascension of Mahathir Mohamad as Prime Minister Najib Razak's successor, the new leader was sworn into office Thursday after an election that ousted Malaysia's ruling party for the first time in more than 60 years.
The win was historic for the opposition coalition, called Pakatan Harapan, as it took control for the first time in more than 60 years and put Mahathir, Malaysia's longest serving leader, back in office. The 92-year-old defected from Najib's party in 2016.
The coalition won 112 seats in the 222-seat government to unseat the Barisan Nasional coalition.
Mahathir had hoped he would be sworn in Thursday and Najib acknowledged the results, but also suggested the final result might be in doubt. He had said it would be up to the king, Sultan Muhammad V, to decide who should be sworn in as prime minister.
The opposition says the defeated prime minister had delayed Mahathir's swearing-in ceremony so he would have time to influence the king. Some reports accuse Najib of attempting to swing the election in his favor by buying up candidates in the state of Sabah.
Questions had also surrounded the proper registration of Mahathir's coalition. Last month, Mahathir has lashed out at Najib after missing paperwork resulted in temporary dissolution of his Bersatu Party.
Najib has been accused of gerrymandering and suppressing free speech during a contentious campaign. He's also suspected of trying to manipulate the popular vote after backing legislation to redraw the electoral map.
Najib, 64, has faced criticisms over the rising cost of living and the government's handling of the still-missing flight MH370. His regime also was hit by a multi-billion dollar corruption scandal involving a state fund.
Mahathir has said he would clear the way for criminal prosecution of Najib. He declared Thursday morning it was time for Malaysia to honor the rule of law and said the king should swear him into office.