The castle’s royal connections go back 1,000 years, and the city’s oldest building stands on the site. David I built St Margaret’s Chapel around 1130, as a tribute to his devout mother. Edinburgh has ...