 The war was Mexico's first encounter with a modern, well-organized, and well-equipped army.Mexico's defeat has been attributed to its problematic internal situation, one of disunity and disorganization.Despite Santa Anna's role in the catastrophe of the Mexican American War, he returned to power yet again.