Sir Andrew was a traitor to King David II. Andrew initially fought with the Royalist army against John Balliol. In the middle of the night Andrew snuck over to Balliol's camp and betrayed the Bruce army's location. The Bruce army was beaten at the battle of Dupplin Moor in 1332. Sir Andrew was captured and executed a few months later.