the hall inside. Following Alexander III's repulse of the Norse influence in Argyll, the MacDougalls backed the Scottish monarchy, and Ewen's son Alexander was made the first sheriff of Argyll in 1293. However, they supported the Balliol side during the Wars of Scottish Independence which broke out a few years later. Robert Bruce defeated the Clan MacDougall at the Battle of the Pass of Brander in August 1308. After a brief siege, King Robert took control of the MacDougall castle of Dunstaffnage. He did not destroy it, as he did others, but appointed a constable and provisioned it, thinking to use it to guard the countryside and seaways. With the land he gave his friend, Angus Og Macdonald, Lord of the Isles, that included much of the MacDougall lands, including nearby Mull, the castle could be well used for that purpose by the Isleman. Royal fortress Now a Crown property, Dunstaffnage was controlled by a series of keepers. James I seized the castle in 1431, following the Battle of Inverlochy, as his enemies were hiding inside. In 1455 James Douglas, 9th Earl of Douglas stayed at Dunstaffnage, on his way to treat with John MacDonald, Lord of the Isles. This followed James II's attack on Douglas power, and led to the signing of the Treaty of Westminster-Ardtornish. A later keeper, John Stewart of Lorn, was a rival of Alan MacDougall, and was stabbed by his supporters on his way to his marriage at Dunstaffnage Chapel in 1463, although he survived long enough to make his vows. Although MacDougall took the castle, he was ousted by James III, who granted Dunstaffnage to Colin Campbell, 1st Earl of Argyll in 1470. Clan Campbell The Earls of Argyll appointed Captains to oversee Dunstaffnage, and keep it in readiness, on their behalf. Changes were made to the buildings, particularly the gatehouse, which was rebuilt around this time. The Campbells were loyal allies of the royal house, and Dunstaffnage was used as a base for government expeditions against the MacDonald Lords of the Isles, among others, during the 15th and 16th centuries. James IV visited Dunstaffnage on two occasions. Dunstaffnage saw action during the Civil War, holding out against Montrose's army in 1644. The castle was burned by royalist troops, following the failure of Argyll's Rising in 1685, against the Catholic James VII. During the Jacobite risings of 1715 and 1745, the castle was occupied