On January 27, 1789, 10480 sqmi of Montgomery County was split off to create Ontario County, including the lands of the present Allegany, Cattaraugus, Chautauqua, Erie, Genesee, Livingston, Monroe, Niagara, Orleans, Steuben, Wyoming, and Yates counties, and part of Schuyler and Wayne counties.