Colombo: Acting Sri Lankan President President Ranil Wickremesinghe and two others were proposed by lawmakers on Tuesday as the three candidates for the July 20 presidential election to pick the successor to Gotabaya Rajapaksa after he resigned following a popular uprising against his government for mismanaging the economy.

Wickremesinghe, 73, will face-off against Dullas Alahapperuma, a 63-year-old staunch Sinhala Buddhist nationalist and a key member from the breakaway group of the ruling Sri Lanka Podujana Peramuna (SLPP) party, and the leftist Janatha Vimukthi Peramuna (JVP) leader Anura Kumara Dissanayake, 53, it was officially announced in Parliament.

Sajith Premadasa, the 55-year-old leader of Sri Lanka's principal opposition party Samagi Jana Balawegaya, said on Tuesday that he was withdrawing from the race of President to provide support to Alahapperuma.

The 225-member Parliament is expected to elect the new president after July 20, who will serve the remaining term of former president Rajapaksa till November 2024.

Premadasa said that his party and the opposition partners will work towards making Alahapperuma victorious in the Presidential elections.

For the greater good of my country that I love and the people I cherish I hereby withdraw my candidacy for the position of President. SJB and our alliance and our opposition partners will work hard towards making Dullas victorious. Premadasa said in a tweet on Tuesday.

On my way to Parliament to take a crucial step. I want the people of Sri Lanka to know that I will take the correct decision at the appropriate time to protect my motherland's national interest and the rights of all my fellow Sri Lankan people, Premadasa had said in an earlier tweet.

Alahapperuma is a staunch Sinhala Buddhist nationalist and a key member from the breakaway group of SLPP.

The ex-Cabinet Minister of Information and Mass Media and former newspaper columnist is being seen as a left-leaning political ideologue.

He has held ministerial positions since 2005 and enjoys the reputation of having a clean public life.

The third candidate in the fray is the leftist Janatha Vimukthi Peramuna (JVP) Anura Kumara Dissanayake.

Wednesday's vote would also be a rare occasion when the House Speaker will vote.

Never in the history of the presidency since 1978, Parliament had voted to elect a president.

Presidential elections in 1982, 1988, 1994, 1999, 2005, 2010, 2015 and 2019 had elected them by popular vote.

The only previous occasion when the presidency became vacant mid-term was in 1993 when president Ranasinghe Premadasa was assassinated. DB Wijetunga was unanimously endorsed by Parliament to run the balance of Premadasa's term.

The new president will serve the remaining tenure of Rajapaksa till November 2024.

The 225-member Parliament is dominated by the ruling SLPP party, which has nearly 100 lawmakers.

The ruling SLPP which officially announced it would be backing has faced some resistance to its decision from within.

Wickremesinghe is currently the frontrunner though his United National Party was routed in the 2020 parliamentary election.

Wickremesinghe on Monday declared a state of emergency giving him broad powers ahead of the crucial presidential election on Wednesday, a move dubbed as an "undemocratic draconian act" by the opposition leaders amid growing demands for his resignation.

The decision to impose the emergency also came amid growing protests demanding Wickremesinghe's resignation.

Worst economic crisis in seven decades

Sri Lanka is facing its worst economic crisis in seven decades, with a severe foreign exchange shortage hampering the import of essentials including food, fuel and medicines.

The economic crisis also sparked a political crisis in the country after a popular uprising against the government, forcing Gotabaya Rajapaksa to flee the country and send his resignation letter from Singapore where he now on a "private visit."

The massive anti-government protests had earlier forced Gotabaya Rajapapksa's elder brother Mahinda Rajapaksa to resign.

The island nation needs about USD 5 billion in the next six months to cover basic necessities for its 22 million people, who have been struggling with long queues, worsening shortages and power cuts.