After independence forces defeated the royalist army in 1822, Ecuador joined Simon Bolivar's Republic of Gran Colombia, only to become a separate republic in 1830. The 19th century was marked by instability, with a rapid succession of rulers. The conservative Gabriel Garcia Moreno unified the country in the 1860s with the support of the Catholic Church. In the late 1800s, world demand for cocoa tied the economy to commodity exports and led to migrations from the highlands to the agricultural frontier on the coast. | After independence forces defeated the royalist army in 1822, Ecuador joined Simon Bolivar's Republic of Gran Colombia, only to become a separate republic in 1830. The 19th century was marked by instability, with a rapid succession of rulers. The conservative Gabriel Garcia Moreno unified the country in the 1860s with the support of the Catholic Church. In the late 1800s, world demand for cocoa tied the economy to commodity exports and led to migrations from the highlands to the agricultural frontier on the coast. |