During the Medieval and Tudor periods, Castlegate was the main thoroughfare linking Ouse Bridge and the town centre with the outer bailey of York Castle.