Portugal established its first colony in Brazil in 1530. Colonists created sugarcane plantations along the coast and sent diamonds and gold back to Europe. Soon, people from West Africa were brought to Brazil to work as slaves. The discovery of large inland gold reserves brought thousands of people from the coasts and as far away as Europe to the interior of the country.

In 1789, Brazilians tried to kick out their Portuguese rulers. The rebellion was soon put down, but it started a movement toward independence. By 1822, Brazil was a sovereign nation. Kings of Portuguese blood ruled until 1888, when military leaders and landowners expelled the king, and Brazil became a federal republic.

More Info: en.m.wikipedia.org