The Creoles in Latin America motivated to revolt against Spain and Portugal because some of them were inspired by the liberal ideology and the Enlightenment. Some also got inspired by Napoleon and fought for their independence to stay in America and not be colonized by Spain and Portugal.