Oh dear lord,
The United States has sought to control the region of Latin America well before the Cold War. That is why U. S. Marines were involved in Nicaragua from 1910 - 1933. After the victory of the Sandinista revolution in 1979, the conflict was initially one between the U. S. and Nicaragua. The U.S.S.R. and Cuba came to the aid of Nicaragua when it was apparent the U.S. was fighting a covert war against the Sandinista government. Despite the fact that the Sandinistas won in fair elections, the U.S. continued to subvert the government, and support the Contras (many of whom were former National Guard, and who "raped, tortured, and killed unarmed civilians, including children," and who were responsible for the deaths of "groups of civilians, including pregnant women and children were burned, dismembered, blinded and beheaded)."
That was another example where Russia was supporting the right side. The FSLN that was fighting to overthrow the dictatorship that the US was propping up.
The Nicaraguan Revolution (Spanish: Revolución Nicaragüense or Revolución Popular Sandinista) encompassed the rising opposition to the Somoza dictatorship in the 1960s and 1970s, the campaign led by the Sandinista National Liberation Front (FSLN) to violently oust the dictatorship in 1978-79, the subsequent efforts of the FSLN to govern Nicaragua from 1979 until 1990[13] and the Contra War which was waged between the FSLN and the Contras from 1981-1990.
Nicaraguan Revolution - Wikipedia, the free encyclopedia