St Giles' Cathedral (Scottish Gaelic: Cathair-eaglais Naomh Giles), or the High Kirk of Edinburgh, is a parish church of the Church of Scotland in the Old Town of Edinburgh. The current building was begun in the 14th century and extended until the early 16th century; significant alterations were undertaken in the 19th and 20th centuries, including the addition of the Thistle Chapel. St Giles' is closely associated with many events and figures in Scottish history, including John Knox, who served as the church's minister after the Scottish Reformation.
Likely founded in the 12th century and dedicated to Saint Giles, the church was elevated to collegiate status by Pope Paul II in 1467. In 1559, the church became Protestant with John Knox, the foremost figure of the Scottish Reformation, as its minister. After the Reformation, St Giles' was internally partitioned to serve multiple congregations as well as secular purposes, such as a prison and as a meeting place for the Parliament of Scotland. In 1633, Charles I made St Giles' the cathedral of the newly created Diocese of Edinburgh. Charles' attempt to impose doctrinal changes on the presbyterian Scottish Kirk, including a Prayer Book causing a riot in St Giles' on 23 July 1637, which precipitated the formation of the Covenanters and the beginnings of the Wars of the Three Kingdoms. St Giles' role in the Scottish Reformation and the Covenanters' Rebellion has led to its being called "the Mother Church of World Presbyterianism".