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,
Crichton Castle and captured by the Earl of Arran on 3 November 1560. The castle was the scene of the marriage and wedding festivities, on 4 January 1562, of Patrick's daughter Jean (d. before July 1599) and her first husband, John Stewart, Lord Darnley, Prior of Coldingham, and illegitimate son of King James V. John Stewart's half-sister Mary, Queen of Scots, spent a few nights at the castle while attending this wedding. The Earl of Bothwell was implicated in February 1567 in the murder of Queen Mary's husband Henry Stuart, Lord Darnley, and became Mary's third husband in May of that year.