After the execution of Thomas Percy, 7th Earl of Northumberland, in 1572 Alnwick castle was increasingly uninhabited. The 9th Earl of Northumberland placed his distant cousin, another Thomas, in charge as constable in 1594, but just over a decade later Thomas was killed fleeing the Gunpowder Plot and the earl was imprisoned in the Tower of London, beginning over a century without a significant Percy presence at Alnwick. In 1650, Oliver Cromwell would use the castle to house prisoners following the Battle of Dunbar.