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 his own son and heir, Edward, hoping for a union of Scotland and England. On 1 July 1543, when Mary was six months old, the Treaty of Greenwich was signed, which promised that at the age of ten Mary would marry Edward and move to England, where Henry could oversee her upbringing. The treaty provided that the two countries would remain legally separate and that if the couple should fail to have children the temporary union would dissolve. However, Cardinal Beaton rose to power again and began to push a pro-Catholic pro-French agenda, which angered Henry, who wanted to break