Spain had signed the Treaty of London in August 1604 with the new Stuart dynasty and did not wish to reopen hostilities. Further, a Spanish fleet had just been destroyed by a Dutch fleet in the Battle of Gibraltar in April 1607. In 1608 Sir Cahir O'Doherty, who had previously fought on the Crown's side against Tyrone, launched O'Doherty's Rebellion when he attacked and burnt Derry. O'Doherty was defeated and killed at the Battle of Kilmacrennan and the rebellion quickly collapsed.