The 19th century was marked by instability for Ecuador with a rapid succession of rulers. The first president of Ecuador was the Venezuelan-born Juan José Flores, who was ultimately deposed, followed by several authoritarian leaders, such as Vicente Rocafuerte; José Joaquín de Olmedo; José María Urbina; Diego Noboa; Pedro José de Arteta; Manuel de Ascásubi; and Flores's own son, Antonio Flores Jijón, among others. The conservative Gabriel García Moreno unified the country in the 1860s with the support of the Roman Catholic Church. In the late 19th century, world demand for cocoa tied the economy to commodity exports and led to migrations from the highlands to the agricultural frontier on the coast.