Answer
Gotabaya Rajapaksa served as the President of Sri Lanka from 2019 to 2022. He was elected to the presidency after a landslide victory in the 2019 presidential election. During his presidency, Rajapaksa faced significant challenges, including the COVID-19 pandemic and the country's worst economic crisis in decades. In July 2022, Rajapaksa resigned from the presidency amid widespread protests and unrest.