Viceroyalty of Perú
The Amazon basin and some large regions nearby had been considered Spanish territory since the Treaty of Tordesillas. But this treaty meant not much during the time Spain controlled Portugal (1580 - 1640).