 The dispute was settled in 1529 by the Treaty of Zaragoza, signed by John III and Charles I of Spain.The Portuguese paid 350,000 gold "ducados" to Spain and secured their presence in the islands, which not have been a necessity, as Portugal was actually entitled to the islands according to the Treaty of Tordesillas.In 1553, Leonel de Sousa obtained authorization for the Portuguese to establish themselves in Canton and Macau.