 Royal officials recommended that the keep be completely rebuilt, but, instead, the lobe was repaired at a cost of £200.Edward I gave wide-reaching powers to the sheriff of Yorkshire for enforcing law and order in the city of York, and the sheriffs established their headquarters in Clifford's Tower.During the wars against the Scots under both Edward and his son, York Castle also formed the centre of royal administration in England for almost half the years between 1298 and 1338.