US antiterror ally ousted, but a democracy promised