By the 19th century, this discrimination and the example of the American Revolution and the ideals of the Enlightenment eventually led the Spanish American Criollo elite to rebel against the Spanish rule.