Portugal–Spain border NATO 2010 Lisbon summit and during Pope Francis's visit to Fátima in May 2017. Portugal's maritime borders, also known as the Exclusive economic zone of Portugal is currently disputed by Spain in the Savage Islands area, between Madeira and the Canary Islands. The main crossing point between Portugal and Spain is Vilar Formoso - Fuentes de Oñoro. Other important crossings are Caminha and Bragança to Galicia, Portalegre and Elvas to Badajoz, and Castro Marim and Vila Real de Santo António to Ayamonte. Bridges across the border include the Guadiana International Bridge and the Lower Guadiana International bridge. A zipline across
John IV of Portugal Braganza. The ensuing conflict with Spain brought Portugal into the Thirty Years' War as, at least, a peripheral player. From 1641 to 1668, the period during which the two nations were at war, Spain sought to isolate Portugal militarily and diplomatically, and Portugal tried to find the resources to maintain its independence through political alliances and maintenance of its colonial income. His accession led to a protracted war with neighbouring Spain, a conflict known as the Portuguese Restoration War, which ended with the recognition of Portuguese independence in a subsequent reign (1668). Portugal signed lengthy alliances with France (1 June