Madagascar regained political independence and sovereignty over its military in 1960. Since this time Madagascar has never engaged in an armed conflict, whether against another state or within its own borders. As such the armed forces of Madagascar have primarily served a peace-keeping role. However, the military has occasionally intervened to restore order during periods of political unrest. When President Philibert Tsiranana was forced to step down in 1972, a military directorate ensured an interim government before appointing one of its own, Admiral Didier Ratsiraka, to lead the country into its socialist Second Republic. He launched a strategy of obligatory national armed or civil service for all young citizens regardless of gender. The majority were channeled into civil service, including agriculture and education programs for rural development based on the socialist Soviet model. Ratsiraka would also mobilize elements of the military to pacify unarmed protesters, occasionally using violent means. His order to fire upon unarmed protesters in 1989 was the catalyst for transition to the democratic Third Republic in 1992. The military remained largely neutral during the protracted standoff between incumbent Ratsiraka and challenger Marc Ravalomanana in the disputed 2001 presidential elections. By contrast, in 2009 a segment of the army defected to the side of Andry Rajoelina, then-mayor of Antananarivo, in support of his attempt to force President Ravalomanana from power. It is widely believed that payoffs were involved in persuading these military personnel to change camps in support of the "coup d'etat".