Spynie Palace was built as a fortified residence for the bishops of Moray. It was originally constructed in the late 1100s but the oldest surviving buildings date from the 1300s.