 Ultimately, it was the royal army in Mexico that ultimately brought about that nation's independence.Central America gained its independence along with New Spain.The regional elites supported the terms of the Plan of Iguala and orchestrated the union of Central America with the Mexican Empire in 1821.