Stirling Castle and expanded his father's building programme, creating the centrepiece of the castle, the Royal Palace, built under the direction of Sir James Hamilton of Finnart and masons brought from France. James V also died young, leaving unfinished work to be completed by his widow, Mary of Guise. His infant daughter, Mary, Queen of Scots, was brought to Stirling Castle for safety, and crowned in the chapel royal on 9 September 1543. She too was brought up here, until she was sent to Inchmahome Priory, and then to France in 1548. In the 1550s, during the Regency of Mary of Guise,
Mary, Queen of Scots received Moray at Holyrood. On the night of 11–12 March, Darnley and Mary escaped from the palace and took temporary refuge in Dunbar Castle before returning to Edinburgh on 18 March. The former rebels Lords Moray, Argyll and Glencairn were restored to the council. Mary's son by Darnley, James, was born on 19 June 1566 in Edinburgh Castle, but the murder of Rizzio led inevitably to the breakdown of her marriage. In October 1566, while staying at Jedburgh in the Scottish Borders, Mary made a journey on horseback of at least four hours each way to visit the Earl of