how mexico came to be?
The Spanish crown established the Viceroyalty of New Spain with the site of the Aztec capital Tenochtitlan becoming Mexico City. ... After a protracted struggle (1810–21) for independence, New Spain became the sovereign nation of Mexico, with the signing of the Treaty of Córdoba.