In 1639 at York Charles I created James Ogilvy the 1st Earl of Airlie. James refused to sign the National Covenant. Furthermore, during the Wars of the Three Kingdoms the Ogilvies supported King Charles I and the Royalist cause. Parliamentarian troops under the command of Archibald Campbell, 8th Earl of Argyll destroyed the castle in 1640; the ballad "The Bonnie Hoose o' Airlie" describes the incident. Campbell also burnt the Ogilvies' castles at Craig and Forter.