Toronto is the capital of Ontario.
Toronto is the most populous city in Canada and the provincial capital of Ontario . York was renamed and incorporated as the city of Toronto in 1834 , and became the capital of the province of Ontario during Canadian Confederation in 1867 .