The European powers of Spain and Portugal colonized the region, which along with the rest of the uncolonized world, was divided into areas of Spanish and Portuguese control by the line of demarcation in 1494, which gave Spain all areas to the west, and Portugal all areas to the east (the Portuguese lands in South America subsequently becoming Brazil.