The city of York later claimed jurisdiction over the area under a royal charter of King John granted in the early 13th century. The validity of this charter was a matter of dispute between the city and the Crown, eventually leading to the imprisonment of the mayor in 1280 when it was proved that a clause in the document had been altered. The bailiffs of the city were subsequently able to resume jurisdiction of the wapentake, although it was not formally included in the city when it was created a county of itself in 1396.