The 1494 Treaty of Tordesillas divided newly discovered lands between Spain and Portugal, granting Spain lands to the west of an imaginary line 370 leagues west of the Cape Verde Islands, and Portugal lands to the east. However, geographic knowledge was uncertain, and the division proved imprecise and a source of conflict. The treaty was later modified in 1529 by the Treaty of Zaragoza to continue the meridian onto the other side of the globe at 145 degrees east, in an attempt to more clearly define territorial divisions as European exploration expanded globally. Still, military might ultimately determined control, as Spain refused to relinquish the Philippines despite it falling under Portugal's sphere of influence until 1898 when the U.S. took