Leader survival, revolutions, and the nature of government finance