Mwai Kibaki, C.G.H. (born 15 November 1931) is a Kenyan politician who was the third President of Kenya, serving from December 2002 until April 2013. Kibaki was previously Vice-President of Kenya for ten years from 1978 to 1988 under President Daniel arap Moi. He also held cabinet ministerial positions in the Kenyatta and Moi governments, including time as minister for Finance (1969-1981) under Kenyatta, and Minister for Home Affairs (1982-1988) and Minister for Health (1988-1991) under Moi. Kibaki served as an opposition Member of Parliament from 1992 to 2002.

The 2005 Kenyan constitutional referendum was held on 21 November 2005. The main issue of contention in the Constitution review process was how much power should be vested in the Kenyan Presidency. In previous drafts, those who feared a concentration of power in the president added provisions for European-style power-sharing between a ceremonial President elected via universal suffrage and an executive Prime Minister elected by Parliament. The draft presented by the Attorney General Amos Wako for the referendum retained sweeping powers for the Presidency.  Though Kibaki the proposal, some members of his own cabinet, mainly from the LDP wing led by Raila Odinga, allied with the main opposition party KANU to mobilize a powerful NO campaign that resulted in a majority of 58% of voters rejecting the draft.  As a consequence of, and immediately after, the referendum loss, on 23 November 2005, Kibaki dismissed his entire cabinet in the middle of his administration's term, with the aim of purging all Raila-allied ministers from the cabinet. About his decision Kibaki said, "Following the results of the Referendum, it has become necessary for me, as the President of the Republic, to re-organize my Government to make it more cohesive and better able to serve the people of Kenya". The only members of the cabinet office to be spared a midterm exit were the Vice President and Minister of Home Affairs, Moody Awori, and the Attorney General whose position is constitutionally protected. A new cabinet of Kibaki loyalists, including MP's from the opposition, termed the Government of National Unity (GNU), was thereafter appointed, but some MP's who were offered ministerial positions declined to take up posts.  A report by a Kenyan Commission of Inquiry, the Waki Commission, contextualises some issues. They reported that Kibaki, after agreeing to an informal Memorandum of Understanding (MoU) to create the post of Prime Minister, reneged on this pact after being elected. They cite criticism of Kibaki neglecting his pre-election agreement, leaving the public to identify it as an attempt by the Kibaki Government to "keep power to itself rather than share it."

when was he elected president