The Contras were rebel groups fighting against the Sandinista government in Nicaragua from 1979-1990. They received extensive military support from the U.S. government, which viewed the left-leaning Sandinistas as a threat. Despite vast resources, the Contras struggled to become a viable military force. Covert U.S. backing continued through the Iran-Contra affair. The war ultimately ended in peace negotiations and elections in 1990, though it devastated Nicaragua and killed over 30,000 people.