In 1451, during the Wars of the Roses, Taunton saw a skirmish between Thomas de Courtenay, 13th Earl of Devon, and Baron Bonville. Queen Margaret and her troops passed through in 1471 to defeat at the Battle of Tewkesbury. In the Second Cornish uprising of 1497 most of the Cornish gentry supported Perkin Warbeck's cause and on 17 September a Cornish army some 6,000 strong entered Exeter before advancing on Taunton. Henry VII sent his chief general, Giles, Lord Daubeney, to attack the Cornish. When Warbeck heard that the King's scouts were at Glastonbury he panicked and deserted his army. Henry VII reached Taunton on 4 October 1497, where he received the surrender of the remaining Cornish army. The ringleaders were executed and others fined a total of £13,000.