Quebec City is the provincial capital significantly closer to Canada’s national capital, Ottawa.
The difference reflects the historic settlement corridor along the St. Lawrence River. Quebec City and Ottawa both developed as riverine administrative centers, while Toronto grew around Lake Ontario’s western shore, farther from the Ottawa River valley.