What led to the rebellion in 1810