The Cathedral of St Andrew was at one time Scotland's largest building. It was founded by Bishop Robert (1122 - 1159). It was not completed and consecrated until 1318 in the reign of Robert the Bruce (1306-29). 