Treaty of Tordesillas
This territory was considered Spanish territory as part of the Treaty of Tordesillas (1494). However, the Portuguese occupied this territory from early on.