Mexico has a long history and was home to several advanced civilizations. It gained independence from Spain in 1821 and established a democratic government. Mexico has a population of over 123 million people, with the majority being Mestizo with Spanish and indigenous ancestry. The economy has grown in recent decades and a middle class has emerged, though poverty and inequality remain issues. Consumer spending is rising, especially online, and demand is growing for healthier food options. The government aims to reduce debt and the budget deficit through fiscal reforms. Mexico has the second largest economy in Latin America and is a member of NAFTA, with most exports going to the United States.