Edinburgh Castle is a castle fortress that dominates the skyline of the city of Edinburgh, from its position on top of the volcanic Castle Rock. Human habitation of the site dates back to the 9th century BC, although the nature of early settlement is unclear.
The present castle dates from the 12th to 21st centuries. The castle saw many sieges and occupations during the Wars of Scottish Independence (1296 - 1357) and was besieged during the Lang Siege (1571 - 1573); and again in 1640, 1650, 1689, and 1745.
The castle is still in use today for ceremonial and military purposes. The 52 Infantry Brigade is garrisoned here. It is now owned by the Ministry of Defence. It is open to the public. Parts are also rented for wedding receptions.