Malaysia’s opposition alliance has named 92-year-old former Prime Minister Mahathir Mohamad as its prime minister candidate for upcoming general elections to boost its chances of wrestling power from a coalition that has ruled since independence.

The announcement Jan. 7 by the four-party Hope Alliance puts an end to squabbling over the thorny issue and is seen as a major show of unity ahead of polls that must be held by August but are widely expected in the second quarter.

Prime Minister Najib Razak has clung to power despite an epic corruption scandal that involved hundreds of millions of dollars passing through his bank accounts. Support for his ruling National Front coalition has dwindled in the last two elections. In 2013, the coalition lost the national popular vote for the first time to the opposition.

Analysts said the opposition still faces an uphill battle due to party infighting, unfavorable electoral boundary changes and strong support for the government from rural ethnic Malays.

“Clearly the opposition is trying hard to prove that they are united. It is a potential risk (to Najib) as Mahathir is still attractive to the Malays but the government still has the upper hand due to an unlevel playing field,” said Wan Saiful Wan Jan, who heads the think tank Institute for Democracy and Economic Affairs.

Government leaders scorned the candidacy of Mahathir, who will be the world’s oldest leader if the opposition wins. Government minister Abdul Rahman Dahlan called his candidacy a stumbling block to the opposition’s reform agenda.

“It’s laughable for (the opposition) to appoint Mahathir as the next PM and expect him to implement those reforms,” he tweeted. “It’s a tragedy to their own cause….anyway, I thank (the opposition) for making it even easier for (the ruling coalition) to win the upcoming general election.”

Mahathir, Asia’s longest-serving leader for 22 years before stepping down in 2003, was an authoritarian who made a high-profile return to politics in a bid to oust his protege Najib.

Najib has sacked critics in his own government including an attorney general and deputy prime minister and muzzled the media since the scandal erupted two years ago. The U.S. and several other countries are investigating allegations of cross-border embezzlement and money laundering at 1MDB, a state investment fund set up and previously led by Najib to promote economic development but which accumulated billions in debt. Najib has denied any wrongdoing.

The opposition coalition Sunday also agreed on allocation of seats for the polls and to limit the prime minister’s tenure to two terms if they win. The coalition, which includes the party led by jailed former deputy Prime Minister Anwar Ibrahim, also said they will seek a royal pardon for him so that Anwar can take over from Mahathir as the next prime minister.

Anwar was Mahathir’s deputy until he was sacked in a power struggle in 1998 and later imprisoned on charges of corruption and sodomy that Anwar said were trumped up. Anwar was freed in 2004 but in 2015 he returned to prison following a second sodomy conviction that critics said was a political conspiracy to break up the opposition. He is due for release in June.

Mahathir told The Associated Press in an interview last year that the opposition could win a simple majority in the polls by tapping into anger at Najib’s corruption scandal and rising cost of living.

© 2017 Time Inc. All rights reserved. Republished from and published with permission of Time Inc. Reproduction in any manner in any language in whole or in part without prior written permission is prohibited.

READ NEXT: Malaysian NGOs Sound Warning on PM Candidates