The English, Dutch and French forces saw that the Caribbean islands where valuable and those European powers started to fight for it, when the English started to prevail Spain was forced to retreat and the consequences where that Spain lost one of its valuable land but also it lost soldiers during the fights it had with the other powers.
Brazil gained it independence on September 7th, 1822. Brazil got their independence because an antagonistic relationship happened between Brazil and Portugal. Brazil proved that their people could over power them.