It was begun in the ninth century, with its massive bronze doors crafted in Constantinople and added in the 11th century, and the facade added in the 13th, when the remains of St. Andrew the Apostle were brought to its crypt from Constantinople.
Construction began in the ninth century, and features were still being added 400 years later.