 The castle, it is believed, was not in regular use for long.By the 13th century it was in the hands of the Archbishop of York and in 1322 Archbishop Melton agreed to defend it in times of war.By c.1340 part of the city wall had been built along the south-east and south-west sides of the Old Baile, incorporating the existing ramparts and ditch, however, these defences were rarely called into use.