What role did liberalism and nationalism play in Latin America between 1800 and 1870?

What role did liberalism and nationalism play in Latin America between 1800 and 1870?. What were the major economic, social, and political trends in Latin America in the late nineteenth and early twentieth centuries?