The original See of St Andrews was founded before 900; erected into a Metropolitan See by a Bull of Pope Sixtus IV on 17th August 1472 and was vacant for 307 years from the execution at Stirling of John Hamilton, eighth Archbishop, on 6th April 1571 until the restoration of the hierarchy in 1878. It is with the ancient primatial See of St Andrews that our present Archdiocese of St Andrews and Edinburgh has continuity. Bishop Hay, Vicar Apostolic for the Lowland District, chose the site of St Mary's in 1801. He had seen his Chapel in Blackfriars Wynd burnt down by a mob, and hoped that the new site would be a more sheltered spot, protected by the surrounding buildings. But it was Bishop Cameron who actually opened the Chapel of St Marys in 1814, with the first Masses being celebrated in August of that year. Under the successors of Bishop Cameron the church was considerably embellished and in 1878. At the request of Archbishop William Smith it was named the Metropolitan Cathedral on 5th July 1886.