Mohammad Ashraf Ghani Ahmadzai (Pashto: محمد اشرف غنی احمدزی) is an Afghan former politician and economist who served as the 8th and last president of Afghanistan from September 2014 until August 2021, when his government was overthrown by the Taliban.