York, now known as Toronto, was established as a key settlement in Upper Canada in 1793 and became a significant urban center due to its strategic location and political importance. The city played a crucial role during the Rebellions of 1837-1838 as it served as a focal point for tensions between the colonial government and reformers seeking change, reflecting the broader struggles for representation and self-governance.