Colombo: Sri Lankan Prime Minister Ranil Wickremesinghe was willing to resign to make way for a new unity government, his office said Saturday, after President Gotabaya Rajapaksa fled his official residence when it was mobbed by protesters.

"So as to ensure safety of the citizens, he is agreeable to this recommendation by opposition party leaders" to quit, Wickremesinghe's office said.