James's father was assassinated on 21 February 1437 at
Blackfriars monastery in
Perth. His mother, Queen
Joan, although hurt, managed to get to her six-year-old son, who was now king. On 25 March 1437, he was formally crowned King of Scots at
Holyrood Abbey. The
Parliament of Scotland revoked alienations of crown property and prohibited them, without the consent of the Estates, that is, until James II's eighteenth birthday. He lived along with his mother and five of his six sisters at
Dunbar Castle until 1439. In July 1439, his mother married
James Stewart, the Black Knight of Lorne, after obtaining a
papal dispensation for both
consanguinity and
affinity. His oldest sister,
Margaret, had left Scotland for France in 1436 to marry the Dauphin Louis (later King
Louis XI of France). From 1437 to 1439, the king's first cousin
Archibald Douglas, 5th Earl of Douglas, headed the government as lieutenant-general of the realm. After his death, and with a general lack of prominent earls in
Scotland due to deaths, forfeiture or youth, political power became shared uneasily among
William Crichton, 1st Lord Crichton,
Lord Chancellor of Scotland (sometimes in co-operation with the
Earl of Avondale), and Sir
Alexander Livingston of Callendar, who had possession of the young king as the warden of the stronghold of
Stirling Castle. Taking advantage of these events, Livingston placed Queen Joan and her new husband,
the Black Knight of Lorn, under "house arrest" at
Stirling Castle on 3 August 1439. They were released on 4 September only by making a formal agreement to put James in the custody of the Livingstons, agreeing to the queen's relinquishment of her dowry for his maintenance and confessing that Livingston had acted through zeal for the king's safety. In 1440, in the king's name, an invitation is said to have been sent to the 16-year-old
William Douglas, 6th Earl of Douglas, and his younger brother, twelve-year-old David, to visit the king at
Edinburgh Castle in November 1440. They came and were entertained at the royal table, where James, still a little boy, was charmed by them. However, while they ate, a black bull's head, a symbol of death, was brought in and placed before the Earl. They were treacherously hurried to their doom, which took place by beheading in the castle yard of Edinburgh on 24 November, with the 10-year-old king pleading for their lives. Three days later, Malcolm Fleming of
Cumbernauld, their chief adherent, shared the same fate. The king, being a small child, had nothing to do with this. This infamous incident took the name of "the
Black Dinner". == Struggles with the Douglases ==