At first, the demarcation line did not revolve around the Earth. Instead, Spain and Portugal were able to conquer all the new countries they discovered first, Spain in the west and Portugal in the east, even though they passed on the other side of the world.  But Portugal`s discovery of the much-loved Moluccas in 1512 prompted Spain to argue in 1518 that the Treaty of Tordesillas was dinging the earth in two equal hemispheres. After the surviving ships of the Magellan fleet visited the Moluccas in 1521, Spain claimed that these islands were in the Western Hemisphere. At the beginning of the 16th century, the treaty between Spain and Portugal was concluded in Vitoria; February 19, 1524 and asked the Badajoz junta to meet in 1524, during which the two countries tried to reach an agreement on the anti-meridian, but failed.  Finally, in a contract signed in Zaragoza, they agreed that Spain would give up its rights to the Moluccas after Portugal paid 350,000 gold ducats [Note 3] to Spain. To prevent Spain from intervening on the Portuguese Moluccas, the Antimeridian would have to be 297 1/2 leagues or 17 degrees east of the Moluccas that cross the islands of Las Velas and Santo Thome.  This distance is slightly smaller than the 300 leagues designated by Magellan as the western distance from Los Ladrones to the Philippine island of Samar, located west of the Moluccas.  Treaties are agreements between and between nations. Treaties have been used to end wars, settle land disputes and even destabilize new countries. John II of Portugal therefore asked Catholic monarchs to negotiate directly the border of their Atlantic territories.
Discussions culminated in the signing of the Treaty of Tordesillas on 7 June 1494. The agreement was intended to “resolve the controversy over the share of each of the two parties belonging to the space to be discovered.” To this end, it was decided that a 370-league “pole-to-pole” line would be drawn from the Cape Verde Islands. The eastern part would be part of the Portuguese domain, and the western part, that of Spanish. Everyone would commit not to send ships to sail in the partner`s territory, although an exception allows Spanish ships to cross the Portuguese domain in a “straight line” to the west. The signatories also pledged not to address the Pope`s authority to support the obligations of the Treaty, but only to ask for its recognition, granted in 1506. It was really a diplomatic agreement on territorial division, which, in fact, did not raise any question of evangelization. The appointed Don Enrique Enriques, Chief Steward, Don Gutierre de Cardenas, Chief Auditorate, and Dr. Rodrigo Maldonado, representative of these very sublime and powerful princes, the Lord and The Lady, the King and Queen of Castile, Leon, Aragon, Sicily, Granada, etc., because of their power in question, which is incorporated above, and who says Ruy de Sousa, Dom Joao de Sousa, his son, and Arias de Almadana, representative and ambassador of this very high and very excellent prince, the king of Portugal and the Algarve on this side and across the sea in Africa, Lord of Guinea, because of his power in question, which is incorporated above, promised and, on behalf of their constituents , forever and ever, would hold, observe and accomplish, truly and effectively, renounce all fraud, tax evasion, deception, lies and appearance, everything is stipulated in this treaty, and any part and package of it; and they wished and approved that everything stipulated in this agreement and any part of this agreement be respected, respected and implemented, as is all that is stipulated in the peace treaty, between the Lord in question and the lady, king and queen of Castile, Aragon, etc.
and Mr. Dom Alfonso, King of Portugal (may he rest in glory) and the king in question, the present ruler of Portugal, his son, then prince in 1479, must be observed, accomplished and executed, and among these punishments, obligations, titles and obligations, in accordance with and following the manner set in this treaty.