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 of Guelders given, while the Scottish king gave her several presents. Immediately after the marriage ceremony, she was dressed in purple robes and crowned queen. It had been agreed that any sons they might have would have no right to the duchy of Guelders. Queen Mary was granted several castles and the income from many lands from James, which made her independently wealthy. In May 1454, she was present at the siege of Blackness Castle, and when it resulted in the victory of the king, he gave it to her as a gift. She made several donations to charity, such as when