The Nicaraguan Revolution (Spanish: Revolución Nicaragüense or Revolución Popular Sandinista, also RPS) encompassed the rising opposition to the Somoza dictatorship in the 1960s and 1970s, the campaign led by the Sandinista National Liberation Front (Frente Sandinista de Liberación Nacional, FSLN) which led to the violent ousting of that dictatorship in 1979, and the subsequent efforts of the FSLN, which governed from 1979 until 1990, to reform the society and economy of the country along socialist lines. The revolution played a substantial role in foreign policy for Nicaragua, Central America and the Americas. The concurrent civil war, waged between the FSLN and the Contras, was one of the proxy wars in the Cold War. Defining the time span of the Nicaraguan revolution is difficult, since there was no formal declaration of war. The end date can be variously regarded as the date when the old regime is ousted, the date when hostilities cease (which could be later than the ouster of the old regime if there is a counterrevolution), or a later date that includes the period of rebuilding and change after the new regime takes power. A fairly broad definition of the time of the Nicaraguan revolution would be from the formal founding of the FSLN in 1961, to its 1990 election loss to Violetta Barrios de Chamorro and the Unión Nacional Opositora which marked the end of its first period in power. A more restricted definition would be that it dates from the late 1970s, when serious ...