Sri Lanka's embattled Prime Minister Mahinda Rajapaksa resigned on Saturday, only a month and a half after taking office and giving the country's president political space to prevent an imminent government shutdown.
The South Asian island has been in political limbo since President Maithripala Sirisena in late October replaced former Prime Minister Ranil Wickremesinghe with Mr Rajapaksa, who was then twice sacked by parliament but had refused to resign.
But as a government shutdown loomed, Mr Rajapaksa put in his papers and said in a statement on Saturday that a change of government that "the people expected" has now been put off.
"I have no intention of remaining as Prime Minister without a general election being held, and in order to not hamper the President in any way, I will resign from the position of Prime Minister and make way for the President to form a new government," Mr Rajapaksa said in the statement.
He emphasised the need for an election to resolve the county's economic and political crisis and said the main challenge now was to form a government. He also spoke against what he described as the "destructive forces" of people seeking to restore their former offices.
"We will bring the forces opposed to the country down to their knees by organising the people," Mr Rajapaksa said.
Representatives of Mr Sirisena and Mr Wickremesinghe could not immediately be contacted.
Mr Wickremesinghe's office on Friday said that Mr Sirisena had called the former prime minister by telephone to invite him to be sworn back into office on Sunday. Mr Sirisena had previously said he would not appoint Mr Wickremesinghe "even if he has the backing of all 225 lawmakers in parliament".
The country's parliament had voted to cut the budget for Mr Rajapaksa and his ministers after Mr Sirisena had refused to accept no confidence votes against Mr Rajapaksa saying that due procedure was not followed.
It remains unclear how Mr Sirisena plans to end the political crisis that threatens to shut down the government on 1 January, by which time a temporary budget must be approved by parliament.
The country's Supreme Court on Friday rejected Mr Rajapaksa's bid for an injunction on a lower court's order that barred him and his cabinet from carrying out their roles in government.
Many foreign countries have refused to recognise Mr Rajapaksa's government. Credit rating agencies Fitch and Standard & Poor's have downgraded Sri Lanka, citing refinancing risks and an uncertain policy outlook.
Earlier this week, the island nation's parliament passed a vote of confidence in favour of Mr Wickremesinghe, as it sought his reinstatement as prime minister by the president to defuse the political crisis.
Join our new commenting forum
Join thought-provoking conversations, follow other Independent readers and see their replies