Municipal government in Upper Canada was under the control of appointed magistrates who sat in Courts of Quarter Sessions to administer the law within a District. A few cities, such as Toronto, were incorporated by special acts of the legislature. Governor Thomson, 1st Baron Sydenham, spearheaded the passage of the District Councils Act which transferred municipal government to District Councils.