Elections and the army