Original: The Amazon basin and some large adjoining regions had been considered Spanish territory since the Treaty of Tordesillas and explorations such as that by Francisco de Orellana, but the Treaty of Tordesillas was rendered meaningless between 1580 and 1640 while Spain controlled Portugal.
Simplified: The Amazon basin and some large regions nearby had been considered Spanish territory since the Treaty of Tordesillas.