 Córdova became the Military Chief of Antioquia, while José Manuel Restrepo was named as the Civilian Chief in charge of the public administration.Córdova organized a small army of 700 volunteers, and on February 12, 1820, he defeated the Spanish army of General Warleta at the "“Battle of Chorrosblancos”", in Yarumal, Antioquia.This victory marked the end of the presence of Spanish troops in Antioquia.