 The battle came to an end on July 10, 1816 resulting on the final defeat for Mejía and the Neogranadines.Mejía was able to escape but a few days later was captured and made prisoner.Made prisoner of war, he was transferred to Bogotá, where on September 3, 1816, Mejía, was executed for treason under orders of Pablo Morillo and Juan Sámano, along with other founding fathers, who later became known collectively as the Martyrs of Independence.