 The walls include several towers, not all of them dating from the medieval period; the semicircular tower near the gatehouse is a 19th-century reconstruction.The walls and towers were used for the abbey's defence, e.g.in disputes with the City of York over land ownership and taxes, and played a role in the defence of the city during the Siege of York.