 It was not completed until nearly 1320.Dedicated to St. Olav, it was one of the greatest Norwegian stone churches from the Middle Ages and it was one of only four the royal collegiate churches in Norway.The church was an important station of the Pilgrim's Route to Nidaros which ran along the coast.