In 1802 by an act of the first Legislative Assembly of Upper Canada, four administrative districts were established in addition to the District of York. Each district was allowed representation in the legislature and a jail and court house in the district town.