The country's interim president Ranil Wickremesinghe ordered a nationwide state of emergency and curfew just hours after the former president fled the country.
Following the state of emergency in Sri Lankan, the speaker of the parliament announced that the president would be replaced by RanilWickremesinghe.
The Prime Minister was asked to take over after the former president and his wife left the country on a plane.
After the state of emergency was announced, anti-government protestors across the country demanded the resignation of the prime minister.
Several protesters managed to enter the Prime Minister's office building, just like last week when they took over the president's residence.
In a televised address, the prime minister ordered the military to take all necessary steps to restore order and urged the protesters to leave immediately.
The public broadcasters stopped broadcasting after protesters entered the studio.
The leader of the opposition questioned if the president had the power to impose an emergency and if the prime minister would become acting president.
The country's formerly stable economy fell into a deep crisis as a result of the May protests. A drop in inward foreign remittances, a drop in fuel imports and a slump in food production were some of the effects of the Covid-19 Pandemic. The Sri Lankan Rupee has lost 80% of its value since the beginning of the year, while food and fuel prices have gone up. The prime minister of the day resigned after intense protests. The most powerful political dynasty in the country is blamed by the protestors for the current state. Basil was finance minister while his brother was a president. Immigration officials prevented Basil and Gotabaya from leaving the country earlier this week due to public demands for them to face prosecution for corruption.
The Prime Minister's house was set on fire and the presidential palace was destroyed.