Castle Rock is a volcanic formation in Edinburgh, Scotland, upon which Edinburgh Castle was founded in the eleventh century.