query: When did Ontario get founded?
passage: History of Ontario
A political stalemate between the French- and English-speaking legislators, as well as fear of aggression from the United States during the American Civil War, led the political elite to hold a series of conferences in the 1860s to effect a broader federal union of all British North American colonies. The British North America Act took effect on July 1, 1867, establishing the Dominion of Canada, initially with four provinces: Nova Scotia, New Brunswick, Quebec and Ontario. The Province of Canada was divided at this point into Ontario and Quebec so that each major European linguistic group would have its own province.
passage: John Sandfield Macdonald
John Sandfield Macdonald, (December 12, 1812 – June 1, 1872) was the Premier of the Province of Canada from 1862 to 1864, and was the first Premier of Ontario from 1867 to 1871, one of the four founding provinces created at the confederation of Canada in 1867. He served as both premier and Attorney-General of Ontario from July 16, 1867, to December 20, 1871.