Who put down the rebellions