Treaty of Tordesillas
The 1494 Treaty of Tordesillas neatly divided the "New World" into land, resources, and people claimed by Spain and Portugal. The red vertical line cutting through eastern Brazil represents the divide. I’m pretty sure that’s the answer