 James V had already consented to the marriage by appointing his procurators to finalise the details on 29 December 1535.Among its provisions, the contract provided that Francis I would transfer Dunbar Castle with the gift of all of its guns, which was kept by the Duke of Albany, to James V, and if James died first Mary would have Falkland Palace for the rest of her life.In April 1536 Francis I consolidated the agreement by sending James V the collar of the Order of Saint Michael.