Complex sentence: York was the name of Old Toronto between 1793 and 1834 and it was the second capital of Upper Canada.
Split into simpler sentences: York was the name of Old Toronto between 1793 and 1834. It was the second capital of Upper Canada.