The first church at the site was built around the year 700, but it burnt down around 1156. The current cathedral was started in the year 1273, and it took until 1872 to complete. In the 15th century, the sale of indulgences was used to finance the construction.