section_path: History/19th century/Confederation
section_name: Confederation
paragraph_text: Confederation
  
  At the time of Confederation of the former British colonies of Canada (now Ontario and Quebec), New Brunswick, and Nova Scotia, the radical Liberals were marginalized by the more pragmatic Conservative coalition assembled under Sir John A. Macdonald. In the 29 years after Confederation, the Liberals were consigned to opposition, with the exception of one stint in government. Alexander Mackenzie was the de facto leader of the Official Opposition after Confederation and finally agreed to become the first official leader of the Liberal Party in 1873. He was able to lead the party to power for the first time in 1873, after the Macdonald government resigned over the Pacific Scandal. Mackenzie subsequently won the 1874 election and served as prime minister for an additional four years. During the five years the Liberal government brought in many reforms, including the replacement of open voting by secret ballot, confining elections to one day and the creation of the Supreme Court of Canada, the Royal Military College of Canada, and the Office of the Auditor General; however, the party was only able to build a solid support base in Ontario and in 1878 lost the government to Macdonald. The Liberals would spend the next 18 years in opposition.