It was built in 1158 and became the center of the Medieval Catholic Church in Scotland and was abandoned in the 16th century after Catholic mass was outlawed during Scottish Reformation.