Read more: Sri Lankan Prime Minister <a href="https://www.thenationalnews.com/world/asia/2022/07/09/sri-lanka-protesters-invade-presidents-official-residence-in-colombo/" target="_blank">Ranil Wickremesinghe</a> has been appointed acting president after incumbent <a href="https://www.thenationalnews.com/world/asia/2022/07/12/sri-lanka-president-gotabaya-rajapaksa-blocked-at-airport-as-he-tries-to-flee/" target="_blank">Gotabaya Rajapaksa</a> fled to the Maldives, the parliamentary Speaker announced on Wednesday as thousands of protesters demanded both men step down. "Because of his absence from the country, President Rajapaksa told me that he has appointed the prime minister to act as the president in line with the constitution," Mahinda Yapa Abeywardana said in a brief televised statement. <a href="https://www.thenationalnews.com/world/asia/2022/07/13/what-is-happening-in-sri-lanka-and-why-did-president-gotabaya-rajapaksa-flee/" target="_blank">Sri Lanka declared a state of emergency</a> on Wednesday, hours after Mr Rajapaksa fled the country. Protesters had stormed <a href="https://www.thenationalnews.com/world/2022/05/12/sri-lankas-president-rajapaksa-promises-swift-reform-to-prevent-anarchy/" target="_blank">Mr Wickremesinghe's</a> office to demand his resignation. Police said they would impose an indefinite curfew across the Western Province, which includes the capital Colombo, to contain the protests after <a href="https://www.thenationalnews.com/world/asia/2022/07/14/sri-lankas-gotabaya-rajapaksa-heading-to-singapore-amid-calls-for-resignation/" target="_blank">Mr Rajapaksa</a> flew to the Maldives in a military aircraft. He left hours before he was expected to step down as widespread protests against his handling of a worsening economic crisis continued. Thousands of demonstrators had mobbed the prime minster's office, prompting police to fire tear gas to hold them back from overrunning the compound. "There are ongoing protests outside the prime minister's office in Colombo and we need the curfew to contain the situation," a senior police officer told AFP. A senior source told Reuters the president left for the archipelago's capital Male. The country's air force said it provided a plane early on Wednesday to fly him, his wife and two security officials out of the country "under the provisions of the constitution and on a request by the government". Key members of Sri Lanka's ruling party are keen to back <a href="https://www.thenationalnews.com/world/asia/2022/05/13/new-sri-lanka-pm-ranil-wickremesinghe-struggles-to-form-government/" target="_blank">Mr Wickremesinghe</a> as their presidential nominee, a senior party source told Reuters on Wednesday. No decision has yet been taken. Members met on Tuesday evening, with the "overwhelming consensus" being for <a href="https://www.thenationalnews.com/world/asia/2022/07/13/sri-lanka-prime-minister-ranil-wickremesinghes-office-stormed-by-protesters/" target="_blank">Mr Wickremesinghe</a> to replace Mr Rajapaksa. The Indian High Commission in Colombo said on Twitter it "categorically denies baseless and speculative media reports" that India helped to arrange the departure of Mr Rajapaksa and his wife from <a href="https://www.thenationalnews.com/tags/sri-lanka/" target="_blank">Sri Lanka</a>. The president would most likely proceed to another Asian country, the source told Reuters. The immigration official said the authorities could not prevent a sitting president from leaving the country. <a href="https://www.thenationalnews.com/world/asia/2022/07/11/sri-lankans-hope-change-of-government-can-save-flagging-tourism-industry/" target="_blank">Mr Rajapaksa was due to step down </a>on Wednesday to make way for a unity government. It comes after <a href="https://www.thenationalnews.com/world/asia/2022/07/09/sri-lanka-protesters-invade-presidents-official-residence-in-colombo/" target="_blank">thousands of protesters stormed his and the prime minister's official residences</a> on Saturday, demanding they step down. The president has not been seen in public since Friday. Parliament will elect his replacement on July 20. The Rajapaksa family, including Mr Gotabaya's brother, former prime minister <a href="https://www.thenationalnews.com/tags/mahinda-rajapaksa/" target="_blank">Mahinda Rajapaksa</a>, have dominated the politics of the country of 22 million for years. Most Sri Lankans blame them for current problems. The tourism-dependent economy was hammered badly by the Covid-19 pandemic and a fall in remittances from overseas Sri Lankans, while a ban on chemical fertilisers damaged farm output. The ban was later reversed. The Rajapaksas introduced populist tax cuts in 2019 that affected government finances, while shrinking foreign reserves curtailed imports of fuel, food and medicine. Petrol has been severely rationed and long lines have formed in front of shops selling cooking gas. Headline inflation hit 54.6 per cent last month and the central bank has given a warning that it could rise to 70 per cent in coming months. Mahinda Rajapaksa, who previously also served as president, <a href="https://www.thenationalnews.com/world/asia/2022/05/09/sri-lanka-imposes-indefinite-curfew-in-capital-after-rivals-clash/" target="_blank">resigned as prime minister in May</a> after protests against the family turned violent. He remained in hiding at a military base in the east of the country for some days before returning to Colombo. In May, the Rajapaksa government appointed Mohammed Nasheed, the Speaker of the Maldives parliament and a former president, to help co-ordinate foreign assistance for crisis-hit Sri Lanka. The same month, Mr Nasheed publicly denied allegations that he was helping Mahinda Rajapaksa secure a safe haven in the Maldives. The protests against the Sri Lankan government have simmered since May, but erupted again last Saturday when hundreds of thousands of people surged into Colombo and occupied key government buildings and residences. On Tuesday, immigration officials prevented another of the president's brothers, former finance minister Basil Rajapaksa, from flying out of the country. It was not clear where Basil Rajapaksa, who also holds US citizenship, was trying to go. He resigned as finance minister in early April amid street protests against fuel and food shortages, and quit his seat in Parliament in June.