The government gave in when the armed forces joined the revolt against the president.