It soon began to appear in heraldry, on royal seals, manuscripts, sculptures and the steeples of churches with royal connections, as at St. Giles Cathedral, Edinburgh. Sixteenth century The idea of imperial monarchy emphasised the dignity of the crown and included its role as a unifying national force, defending national borders and interest, royal supremacy over the law and a distinctive national church within the Catholic communion. James V was the first Scottish monarch to wear the closed imperial crown, in place of the open circlet of medieval kings, suggesting a claim to absolute authority within the kingdom. His diadem was reworked to include arches in 1532, which were re-added when it was reconstructed in 1540 in what remains the Crown of Scotland. During her brief personal rule Mary, Queen of Scots brought many of the elaborate court activities that she had grown up with at the French court, with balls, masques and celebrations, designed to illustrate the resurgence of the monarchy and to facilitate national unity. However, her personal reign ended in civil war, deposition, imprisonment and execution in England. Her infant son James VI was crowned King of Scots in 1567. By the early modern era Gaelic had been in geographical decline for three centuries and had begun to be a second class language, confined to the Highlands and Islands. It was gradually being replaced by Middle Scots, which became the language of both the nobility and the majority population. Scots was derived substantially from Old English, with Gaelic and French influences. It was called Inglyshe in the fifteenth century and was very close to the language spoken in northern England, but by the sixteenth century it had established orthographic and literary norms largely independent of those developing in England. From the mid-sixteenth century, written Scots was increasingly influenced by the developing Standard English of Southern England due to developments in royal and political interactions with England. With the increasing influence and availability of books printed in England, most writing in Scotland came to be done in the English fashion. Unlike many of his predecessors, James VI generally despised Gaelic culture. After the Reformation there was the development of a national kirk that claimed to represent all of Scotland. It became the subject of national pride, and was often compared with the less clearly reformed church in neighbouring England. Jane Dawson suggests that the loss of national standing