 But it was not until 24 July 1819 that he was pardoned and freed.In 1820, López met General Simón Bolívar, who appointed him lieutenant of the then newly created ""Boyacá Battalion"".While in the town of La Mesa, López saw his former prison mate, Vicente Azuero, among the prisoners of war and interceded for his release.