Complex sentence: The first reference to a castle at Dunnottar occurs in the early 13th century, and a chapel was built on the site in 1276.
Split into simpler sentences: The first reference to a castle at Dunnottar occurs in the early 13th century. A chapel was built on the site in 1276.