It has since alternated between democratically-elected civilian governments and military dictatorships, until it achieved a stable democracy in 1999, with its 2011 presidential elections being viewed as the first to be conducted reasonably freely and fairly.