what set off the widespread revolt in latin america in the early 1800’s

what set off the widespread revolt in latin america in the early 1800’s