And the inevitable coup was staged.