Supporters of former Malaysian prime minister and opposition candidate Mahathir Mohamad celebrates in Kuala Lumpur on early May 10, 2018. (AFP)

The results from the Election Commission showed the opposition grouping, Pakatan Harapan, plus a party in the Borneo state of Sabah they are allied with, winning 115 seats — over the threshold of 112 seats needed in parliament to form a government.

Mahathir, who will become the world's oldest prime minister, came out of retirement to take on Prime Minister Najib Razak, who has become embroiled in massive corruption scandal surrounding state fund 1MDB.

“We are not seeking revenge, we want to restore the rule of law,” Mahathir told reporters, as he declared victory.