The dynastic crisis (1580) caused by the ascension of King Philip II of Spain (King Philip I of Portugal) had consequences on the island, since gentry supported (along with those on Terceira) the pretender to the throne, D. António, Prior of Crato. King D. António reigned on the continent for about twenty days, until he was defeated at the Battle of Alcântra, whereupon he moved his court to Terceira Island and governed in opposition until 1583. The Habsburg-supported King Phillip finally defeated his forces at sea at the Battle of Ponta Delgada between July 25–26, 1582, and the garrisons in São Jorge only capitulated to the forces of Castillo after the fall of Terceira in 1583.