Sri Lanka’s Prime Minister Ranil Wickremesinghe on Saturday said he was willing to resign and make way for an all-party government to take over, shortly after protesters reportedly breached his official residence in Colombo during demonstrations over the country’s worsening economic crisis.

“To ensure the continuation of the Government including the safety of all citizens I accept the best recommendation of the Party Leaders today, to make way for an All-Party Government,” Wickremesinghe wrote on Twitter.

“To facilitate this I will resign as Prime Minister.”

His statement came after a meeting of party leaders, held by Sri Lanka’s parliament speaker, agreed to ask both the President and Prime Minister to resign per an “overwhelming request,” Sri Lankan lawmaker Rauff Hakeem tweeted on Saturday.

Wickremesinghe has not yet submitted his letter of resignation to President Gotabaya Rajapaksa.

Sri Lanka’s Speaker of Parliament Mahinda Yapa Abeywardena says President Rajapaksa has informed him he will resign on July 13, the speaker’s office announced late Saturday.

The announcement comes after the Speaker asked the President to resign following a meeting of party leaders.

Anger reached unprecedented levels in the South Asian nation of 22 million on Saturday, as more than 100,000 people massed outside Rajapaksa’s residence, calling for his resignation.

Video broadcast on Sri Lankan television and on social media showed the protesters enter the President’s House — Rajapaksa’s office and residence in the commercial capital — after breaking through security cordons placed by police. Images show demonstrators inside the building and hanging banners from the balcony, as well as swimming in the residence’s pool.

Rajapaksa is not at the site and has been moved elsewhere, security officials told CNN. It is unclear how many security personnel are present at the location.

Protesters then also breached Wickremesinghe’s official residence in Colombo, known as Temple Trees, according to local media reports, while video of protesters entering the gates to Wickremesinghe’s residence circulated on social media on Saturday.

Demonstrators also broke into Wickremesinghe’s private residence, on Fifth Lane, and set it on fire, according to his office. Live video streamed by local media and seen by CNN showed the residence engulfed in flames as crowds gathered at the scene.

Wickremesinghe was not there at the time it was breached: He had been moved earlier to a secure location, his office said.

If both Wickremesinghe and Rajapaksa resign, under the Sri Lankan constitution, the speaker of parliament will serve as acting president for a maximum of 30 days. Meanwhile, parliament will elect a new President within 30 days from one of its members who will hold the office for the remaining two years of the current term.

It is unclear how many security personnel are at the Sri Lankan leader's official residence, where more than 100,000 amassed outside, police said.

It is unclear how many security personnel are at the Sri Lankan leader’s official residence, where more than 100,000 amassed outside, police said.

Protesters enter the pool in the presidential house in Sri Lanka.

Protesters enter the pool in the presidential house in Sri Lanka.

At least 55 people have been injured in the protests, according to Dr. Pushpa Zoysa with the National Hospital of Sri Lanka, who said the figure included three people with gunshot wounds. Among those injured is a lawmaker from eastern Sri Lanka, she added.

Earlier Saturday, Wickremesinghe called an emergency meeting of party leaders to discuss the current situation and come to a resolution, his office said. He also asked the Speaker of Parliament to summon MPs.