Sir John Alexander Macdonald was the first Prime Minister of Canada (1867–1873, 1878–1891) and one of Canada's Fathers of Confederation. The dominant figure of Canadian Confederation, he had a political career which spanned almost half a century. Macdonald served 19 years as Canadian Prime Minister; only William Lyon Mackenzie King served longer.