Aside from the services he provided guiding the only centre of literacy in the region, his reputation as a holy man led to his role as a diplomat among the tribes; there are also many stories of miracles which he performed during his work to convert the Picts. He visited the pagan king Bridei, king of Fortriu, at his base in Inverness, winning the king's respect and Columba subsequently played a major role in the politics of that country. He was also very energetic in his evangelical work; in addition to founding several churches in the Hebrides, he worked to turn his monastery at Iona into a school for missionaries. He was a renowned man of letters, having written several hymns and being credited with having transcribed 300 books personally. He died on Iona and was buried in the abbey he established. The Scottish church would continue to grow in the centuries that followed, and in the 11th century Saint Margaret of Scotland (Queen Consort of Malcolm III of Scotland) strengthened the church's ties with the Holy See, as did successive monarchs such as Margaret's son, David, who invited several religious orders to establish monasteries. The Scottish Reformation was formalised in 1560, when the Church of Scotland broke with the Church of Rome during a process of Protestant reform led, among others, by John Knox. It reformed its doctrines and government, drawing on the principles of John Calvin which Knox had been exposed to while living in Switzerland. In 1560, the Scottish Parliament abolished papal jurisdiction and approved Calvin's Confession of Faith, but did not accept many of the principles laid out in Knox's "First Book of Discipline", which argued, among other things, that all of the assets of the old church should pass to the new. The 1560 Reformation Settlement was not ratified by the crown for some years, and the question of church government also remained largely unresolved. In 1572 the acts of 1560 were finally approved by the young James VI, but under pressure from many of the nobles the Concordat of Leith also allowed the crown to appoint bishops with the church's approval. John Knox himself had no clear views on the office of bishop, preferring to see them renamed as "superintendents"; but in response to the new Concordat a Presbyterian party emerged headed by Andrew Melville, the author of the "Second Book of Discipline". The Scottish Episcopal Church began as a distinct church in 1582, when the Church of Scotland rejected episcopal government (by bishops) and adopted a presbyterian government by elders as well as reformed theology.