The Middle Ward is the oldest building in Edinburgh Castle.