COLOMBO, Sri Lanka — Sri Lanka's opposition political parties were meeting Sunday to agree on a new government a day after the country's president and prime minister offered to resign in the most dramatic day of monthslong political turmoil, with protesters storming both leaders' homes and setting fire to one of the buildings in a rage over the economic crisis.
Protesters remained in President Gotabaya Rajapaksa's home, his seaside office and the prime minister's residence, saying they will stay until they officially resign. Soldiers were deployed around the city and Chief of Defense Staff Shavendra Silva called for public support to maintain law and order.
Ranjith Madduma Bandara, a top official in main opposition party United People's Force, said that separate discussions were held with other parties and lawmakers who broke away from Rajapaksa's ruling coalition and more meetings are planned. He did not say when an agreement might be reached, even though it was expected to be finalized on Sunday.
Another opposition lawmaker, M. A. Sumanthiran, said earlier that all opposition parties combined could easily muster the 113 members needed to show a majority in Parliament, at which point they will request Rajapaksa to install the new government and then resign.
Rajapaksa appeared to have vacated his residence before it was stormed, and government spokesperson Mohan Samaranayake said he had no information about his movements. A statement from the president's office Sunday said that Rajapaksa ordered officials to start immediate distribution of a cooking gas consignment, suggested that he was still at work.
Prime Minister Ranil Wickremesinghe said he will leave office once a new government is in place, and hours later the speaker of Parliament said Rajapaksa would step down Wednesday. Pressure on both men had grown as the economic meltdown set off acute shortages of essential items, leaving people struggling to obtain food, fuel and other necessities.
If both president and prime minister resign, Speaker Mahinda Yapa Abeywardena will take over as temporary president, according to the constitution.
Rajapaksa appointed Wickremesinghe as prime minister in May in an effort to solve the shortages and start economic recovery.
Wickremesinghe had been part of crucial talks with the International Monetary Fund for a bailout program and with the World Food Program to prepare for a predicted food crisis. The government must submit a plan on debt sustainability to the IMF in August before reaching an agreement.
Analysts say it is doubtful any new leader could do more than Wickremesinghe. His government's efforts showed promise, with much-needed fertilizer being distributed to farmers for next season's cultivation and a first consignment of cooking gas orders arriving in the country Sunday.
"This kind of unrest could create confusion among international organizations like the IMF and the World Bank," political analyst Ranga Kalansooriya said, adding that a new administration should agree on a common program for economic recovery.
He said while Wickremesinghe was working in the right direction, his administration's weakness was not implementing a long-term plan to go with its focus on solving day-to-day problems.
It is unlikely that an all-party government will agree on IMF-backed economic reforms without some parties losing their political support.
Wickremesinghe said Saturday that it was not proper for him to leave without a government in place.
"Today in this country we have a fuel crisis, a food shortage, we have the head of the World Food Program coming here and we have several matters to discuss with the IMF," Wickremesinghe said. "Therefore, if this government leaves there should be another government."
Thousands of protesters entered the capital Colombo on Saturday and swarmed into Rajapaksa's fortified residence. Crowds of people splashed in the garden pool, lounged on beds and used their cellphone cameras to capture the moment. Some made tea or used the gym while others issued statements from a conference room demanding that the president and prime minister go.
Even though both Wickremesinghe and Abeywardena, the parliament speaker, said in their speeches that they had spoken with the president, they did not say anything about his whereabouts.
Protesters later broke into the prime minister's private residence and set it on fire, Wickremesinghe's office said. It wasn't clear if he was there when the incursion happened.
U.S. Secretary of State Antony Blinken said that Washington was tracking the developments in Sri Lanka and urged Parliament to work quickly to implement solutions and address people's discontent.
Speaking at a news conference in Bangkok, Blinken said that the United States condemns attacks against the peaceful demonstrators while calling for a full investigation into any protest-related violence.
Sri Lanka is relying on aid from India and other nations as leaders try to negotiate a bailout with the IMF. Wickremesinghe said recently that negotiations with the IMF were complex because Sri Lanka was now a bankrupt state.
Sri Lanka announced in April that it was suspending repayment of foreign loans due to a foreign currency shortage. Its total foreign debt amounts to $51 billion, of which it must repay $28 billion by the end of 2027.
Months of demonstrations have all but dismantled the Rajapaksa political dynasty, which has ruled Sri Lanka for most of the past two decades but is accused by protesters of mismanagement and corruption. The president's older brother resigned as prime minister in May after violent protests saw him seek safety at a naval base. He later moved into a house in Colombo.