 It was in this function that d'Avila arrested the Count of Egmont.When the Eighty Years' War started, d'Avila suffered a defeat in the Battle of Le Quesnoy.He was also involved in the 1572 Siege of Middelburg and the Battle of Flushing a year later.