Ecology of a social uprising