after the voyage of john iv, prince of portugal. the demands of the royal government in rio de janeiro turned it into a colonial state, which led to small wars in this country, known as the brazilian independence wars. finally, on september 7, 1822, with the declaration of independence, the independent empire of brazil was formed. at the end of the 19th century and the beginning of the 20th century, brazil had more than 5 million european, arab and arab immigrants. in this period, brazil became more industrialized and colonial, and its center was also developed. the country of brazil it was one of several countries in latin america that in the 60s and 70s, military coups overthrew elected and civilian governments and the military took power for several decades. also , brazil was among the first latin american countries to end military rule. since 1985, the government of brazil has been considered internationally as a democratic government , which was confirmed in the referendum held in 1993. the official name of brazil is federative