Riding the tiger
Livingston's career in national politics approached its peak after August 1443. His new alliance with William Douglas, 8th Earl of Douglas, enabled the earl to capture Crichton's tower house at Barnton later that month. Livingston brought James II to the earl's siege of Barnton, convincing the tower's garrison to surrender. Livingston's new enemy, Crichton, and his relatives were then officially outlawed at a general council held at Stirling Castle. Livingston's support, entailing custody of James II, was crucial to the Earl of Douglas during the ensuing conflict. Livingston continued to act as guardian of James II after Douglas, who was seeking to strengthen the legitimacy of his faction, declared the formal end of the king's minority in November 1444.
A period of civil war followed the ascendancy of the Douglas-Livingston faction in 1443. Crichton sought the support of a group of Livingston's enemies, including Joan Beaufort and her second husband - whom Livingston had both imprisoned - along with James Douglas, 3rd Earl of Angus. Crichton's faction was quickly defeated in the civil war. Douglas besieged and captured Methven Castle, which was held for the queen mother, and awarded it to Livingston's second son, Alexander of Filde. Livingston's eldest son and heir, James, participated in an attack on the lands of James Kennedy, Bishop of St Andrews, an ally of the queen mother, early in 1445. The civil war reached its climax later that year, when Crichton himself was besieged in Edinburgh Castle and forced to surrender. The victory of the Douglas-Livingston faction was secured when the queen mother, who had taken refuge at Dunbar Castle, died there on 15 July 1445.
Livingston acquired the important judicial role of Justiciar of Scotland in 1444, during the civil war. Possibly to consolidate his family's power, he had transferred his office of custodian of Stirling Castle to his eldest son, James, before 1445. Livingston also secured his eldest son's appointment as Lord High Chamberlain of Scotland by c. 1448. Livingston's cousin, Robert, who had previously supervised building work at Linlithgow Palace, became Comptroller of Scotland at around the same time, while Livingston's younger brother, John, was made custodian of Doune Castle. By 1449, the Livingston kinsmen formed one of the most wealthy and influential noble families in Scotland. Despite Livingston's success in promoting himself and his family, he lacked the territorial base from which to sustain his achievements in the long term.