The war continued until 1824 with successes and failures on each side. On 7 August 1819, the army of New Granada, under the command of the Liberator Simón Bolívar, defeats the Royalist troops under the command of General José María Barreiro in the Battle of Boyacá, being the first republic of the so-called "Bolivarianas" (Bolivarians) to obtain their independence of the Kingdom of Spain; a day that also celebrates the Colombian Army.