Ranil Wickremesinghe was on Friday sworn in as Sri Lanka's acting president after parliament accepted the resignation of Gotabaya Rajapaksa who fled the country, allowing the lawmakers to begin the process of electing a new president who can repair the island nation's bankrupt economy.