Ortega first came to power in 1979 after his Sandinista National Liberation Front (FSLN) ousted the dictator Anastasio Somoza. He was elected president in 1984 and served until 1990.