Passage: Louis David Riel  (; French: [lwi ʁjɛl]; 22 October 1844 – 16 November 1885) was a Canadian politician, a founder of the province of Manitoba, and a political leader of the Métis people of the Canadian Prairies. He led two rebellions against the government of Canada and its first post-Confederation prime minister, John A. Macdonald. Riel sought to preserve Métis rights and culture as their homelands in the Northwest came progressively under the Canadian sphere of influence. Over the decades, he has been made a folk hero by Francophones, Catholic nationalists, native rights activists, and the New Left student movement. Arguably, Riel has received more scholarly attention than any other figure in Canadian history.The first resistance led by Riel became known as the Red River Rebellion of 1869–1870. The provisional government established by Riel ultimately negotiated the terms under which the modern province of Manitoba entered the Canadian Confederation. Riel ordered the execution of Thomas Scott, and fled to the United States to escape prosecution.  Despite this, he is frequently referred to as the "Father of Manitoba". While a fugitive, he was elected three times to the House of Commons of Canada, although he never assumed his seat. During these years, he was frustrated by having to remain in exile despite his growing belief that he was a divinely chosen leader and prophet, a belief which would later resurface and influence his actions.  Because of this new religious conviction, Catholic leaders who had supported him before increasingly repudiated him. He married in 1881 while in exile in Montana in the United States; he fathered three children.

Question: Who was the prime minister after the Confederation in Canada?
John A. Macdonald