Answer
John Mahama became President of Ghana on July 24, 2012, following the death of President John Atta Mills. Mahama, who had been serving as Vice President, was sworn into office as the fourth President of the Fourth Republic of Ghana. His presidency marked a period of political stability and economic growth for the country.