The Treaty of Tordesillas was an agreement between Spain and Portugal, signed in 1494, that divided newly discovered lands outside Europe between the two countries along a meridian in the Atlantic Ocean. This treaty was crucial in shaping the colonial empires of both nations and was a result of competition for overseas exploration and trade during the Age of Discovery.