The fighting in Scotland continued as a civil war. Lord Moray was assassinated on 23 January 1570. The regent who succeeded him, the Earl of Lennox, was also a victim of violence. On 30 April 1571, the controller of Edinburgh Castle, Kirkcaldy of Grange, ordered all enemies of the Queen to leave the city. But for Knox, his former friend and fellow galley-slave, he made an exception. If Knox did not leave, he could stay in Edinburgh, but only if he remained captive in the castle. Knox chose to leave, and on 5 May he left for St Andrews. He continued to preach, spoke to students, and worked on his "History". At the end of July 1572, after a truce was called, he returned to Edinburgh. Although by this time exceedingly feeble and his voice faint, he continued to preach at St Giles'.