York is an ancient English borough, and was one of the boroughs reformed by the Municipal Corporations Act 1835 to form a municipal borough.
As a result of 1990s UK local government reform, York gained unitary status and saw a substantial alteration in its borders, taking in parts of Selby and Harrogate districts, and about half the population of the Ryedale district.