Since the Spanish conquest, Mexico has fused its long-established native civilizations with European culture. Perhaps nothing better represents this hybrid background than Mexico's languages: the country is both the most populous Spanish-speaking country in the world and home to the largest number of Native American language speakers in North America. From 1519, the Spaniards absorbed the native peoples into Spain's vast colonial empire. For three centuries Mexico was part of the Spanish Empire, and during this period the current Spanish-speaking, Catholic and Westernized Mexican culture was born. After a protracted struggle Mexico declared its independence from Spain in 1810. In 1846, the Mexican American War broke out, ending two years later with Mexico ceding almost half of its territory to the United States.
Later in the 19th century, France invaded Mexico (1861) and set Maximilian I on the Mexican throne, which lasted until 1867. A half-century of economic stagnation and political chaos ended as Porfirio Díaz held power and promoted order and the modernization of the society and economy. Mexico's infrastructure was modernized by a strong, stable central government. Increased tax revenues and better administration brought dramatic improvements in public safety, public health, railways, mining, industry, foreign trade, and national finances. Little had been done for the nation's poor, and they revolted in the Mexican Revolution (1910–1929). Roaming armies killed a tenth of the nation's population, but the Revolution freed the peons from the system of large haciendas that had originated with the Spanish Conquest.
The center-left Partido Revolucionario Institucional (PRI)