What events led to the revolution