A year after agreeing to free elections, Nicaragua's leftist Sandinista government loses at the polls. The elections brought an end to more than a decade of U.S. efforts to unseat the Sandinista government. The Sandinistas came to power when they overthrew long-time dictator Anastacio Somoza in 1979. From the outset, U.S. officials opposed the new regime, claiming that it was Marxist in its orientation. In the face of this opposition, the Sandinistas turned to the communist bloc for economic and military assistance. In 1981, President Ronald Reagan gave his approval for covert U.S. support of the so-called Contras-anti-Sandinista rebels based mostly in Honduras and Costa Rica. This support continued for most of the Reagan administration, until disapproval from the American public and reports of Contra abuses pushed Congress to cut off funding. In 1989, Nicaraguan president Daniel Ortega met with the presidents of El Salvador, Costa Rica, Honduras, and Guatemala to hammer out a peace plan for his nation. In exchange for promises from the other nations to close down Contra bases within their borders, Ortega agreed to free elections within a year. These were held on February 26, 1990.
Ortega and the Sandinistas suffered a stunning defeat when Violeta Barrios de Chamarro, widow of a newspaper editor assassinated during the Somoza years, polled over 55 percent of the presidential vote. The United States saw Chamarro's victory as validation of its long-time support of the Contras, and many analysts likened the electoral defeat of the Sandinistas to the crumbling of communist regimes in Eastern Europe during the same period. In the wake of the election, the administration of President George Bush immediately announced an end to the U.S. embargo against Nicaragua and pledged new economic assistance. Though rumors flew that the Sandinista-controlled army and security forces would not accept Chamarro, she was inaugurated without incident. The Sandinistas, however, continued to play a role in Nicaraguan politics and still actively campaign for, and occasionally win, political office.