is named for him. In 1479, John Stewart, Earl of Mar, brother of King James III was held prisoner at Craigmillar, accused of practising witchcraft against the King. He later died in suspicious circumstances. 16th century In 1511 Craigmillar was erected into a barony, and the outer courtyard was built around this time, possibly by another Simon Preston (d.1520), Member of Parliament for Edinburgh in 1487, who had succeeded in 1478. In September 1517, during an outbreak of plague in Edinburgh, the infant James V of Scotland moved to safety at Craigmillar. His French guardian De la Bastie had new locks made for his chamber and the two iron gates, and a stable was built for the king's mule. The family chapel within the outer court was first recorded in 1523. During the so-called Rough Wooing of Henry VIII of England, the English attempted to impose, by military force, a marriage between Edward, Prince of Wales, and the young Mary, Queen of Scots. Craigmillar Castle was burned by English troops under the Earl of Hertford on 8 May, after he had sacked Edinburgh. Sir Simon Preston (d.1569) had the castle repaired, with domestic ranges in the courtyard being remodelled. Preston served as Lord Provost of Edinburgh for several years, and was a loyal supporter of Queen Mary, who appointed him to her Privy Council. Queen Mary stayed at Craigmillar twice. In September 1563 she met the English ambassador Thomas Randolph at the castle, with the Earl of Moray and William Maitland. She stayed from 20 November to 7 December 1566, still in poor health following a serious illness in October. She gave an audience to a diplomat from Savoy, Jean, Count de Brienne, who had arrived for the baptism of Prince James. Mary is traditionally said to have slept in the small former kitchen within the tower house, although it is more likely that she occupied larger accommodation in the relatively new east range. Several of her noblemen were with her at Craigmillar in November 1566, and suggested to her that her unpopular husband, Henry Stuart, Lord Darnley, could be removed, either by divorce or by other means. An agreement, the "Craigmillar Bond", was signed by Mary's Secretary of State William Maitland of Lethington, and several nobles including the earls of Bothwell, Argyll and Huntly. The bond does not survive, but set out the conspirator's intent to remove Darnley. Although