Chilean War of Independence was officially issued by Chile on February 12, 1818 and formally recognized by Spain in 1844, when full diplomatic relations were established. The Chilean War of Independence was part of the more aroused Spanish American wars of independence. Independence did not have unanimous support among Chileans, who were divided between independentists and royalists. What started as a political movement among elites against the colonial power, ended as a full-fledged civil war. Traditionally, the process is divided into three stages: the "Patria Vieja", 1810–1814; the "Reconquista", 1814–1817; and the "Patria Nueva", 1817–1823. At the start of 1808, the Captaincy General of
Mexican–American War could not be released from its obligations. The US was released from all obligations of Article XI five years later by Article II of the Gadsden Purchase of 1853. The 1848 Treaty of Guadalupe Hidalgo ended the war and enforced the Mexican Cession of the northern territories of Alta California and Santa Fe de Nuevo México to the United States. Mexico acknowledged the loss of what became the State of Texas and accepted the Rio Grande as its northern border with the U.S. The losses amounted to one-third of its original territory from its 1821 independence. Before the secession of