Edinburgh Castle is a historic fortress which dominates the skyline of the city of Edinburgh, Scotland from its position on the Castle Rock. The castle has sheltered many Scottish monarchs. They include Queen Margaret (later St Margaret), who died here in 1093, and Mary Queen of Scots, who gave birth to James VI in the Royal Palace in 1566.