quality:corruption
Early republic

The early republican government was a military dictatorship, with the army dominating affairs both in Rio de Janeiro and in the states. Freedom of the press disappeared and elections were controlled by those in power. Not until 1894, following an economic crisis and a military one, did civilians take power, remaining there until October 1930.

In relation to its foreign policy, the country in this first republican period maintained a relative balance characterized by a success in resolving border disputes with neighboring countries, only broken by the Acre War (1899–1902) and its involvement in World War I (1914–1918), followed by a failed attempt to exert a prominent role in the League of Nations; Internally, from the crisis of Encilhamento and the Navy Revolts, a prolonged cycle of financial, political and social instability began until the 1920s, keeping the country besieged by various rebellions, both civilian and military.

Little by little, a cycle of general instability sparked by these crises undermined the regime to such an extent that in the wake of the murder of his running mate, the defeated opposition presidential candidate Getúlio Vargas, supported by most of the military, successfully led the Revolution of 1930. Vargas and the military were supposed to assume power temporarily, but instead closed down Congress, extinguished the Constitution, ruled with emergency powers and replaced the states' governors with his own supporters.

In the 1930s, three attempts to remove Vargas and his supporters from power failed. The first was the Constitutionalist Revolution in 1932, led by São Paulo's oligarchy. The second was a Communist uprising in November 1935, and the last one a putsch attempt by local fascists in May 1938. The 1935 uprising created a security crisis in which Congress transferred more power to the executive branch. The 1937 coup d'état resulted in the cancellation of the 1938 election and formalized Vargas as dictator, beginning the Estado Novo era. During this period, government brutality and censorship of the press increased.

During World War II, Brazil remained neutral until August 1942, when the country suffered retaliation by Nazi Germany and Fascist Italy in a strategic dispute over the South Atlantic, and, therefore, entered the war on the allied side. In addition to its participation in the battle of the Atlantic, Brazil also sent an expeditionary force to fight in the Italian campaign.

With the Allied victory in 1945 and the end of the fascist regimes in Europe, Vargas's position became unsustainable, and he was swiftly overthrown in another military coup, with democracy "reinstated" by the same army that had ended it 15 years earlier. Vargas committed suicide in August 1954 amid a political crisis, after having returned to power by election in 1950.