The War of Independence was costly for Mexico. After achieving independence in 1821, the country was left devastated and impoverished. Agricultural, mining, and industrial production ceased during the war, and over half a million Mexicans died. As a new country, Mexico struggled internally to achieve nationhood. Hope this helps