the Teatinos River and took attack positions there. Meanwhile, the full force of the Patriot army under Santander had reached Casa de Piedra. The Spanish rearguard was still several kilometers behind, so General Anzoátegui ordered to block the way between the vanguard and the rearguard of the Spanish forces. The rearguard, outnumbered, retreated to a small hill close to Casa de Piedra. Simón Bolívar's forces arrived from Paipa, after the Battle of Vargas Swamp. The number of troops of the revolutionary army was around 2850–2900 according to modern estimates. He ordered a flank attack on the Spanish rearguard: battalions Barcelona and Bravos de Paez were to attack on the right side while the Legion Britanica and Rifles Battalion attacked on the left. The British Legion was a special forces squad composed of British and Irish people, which aided the revolutionary army in certain key battles for independence in South american countries. The enemy assumed battle positions: in the center were three artillery pieces surrounded by royal battalions 12 and 22, and on the wings, cavalry units. Arthur Sandes commander of Rifles Battalion charges the royalist artillery. Outnumbered, the Spanish rear guard began to retreat without any clear direction. Therefore, Bolívar ordered lancers units to attack the center of the Royalist infantry, while a full cavalry squadron ran away from the battle via the road towards Samaca. Barreiro attempted to break the blockage of the Patriot forces and rendezvous with the Spanish vanguard but heavy enemy fire forced him and his forces to surrender. Meanwhile, one kilometer and a half behind Casa de Piedra, the Patriot vanguard managed to ford the river and was approaching the rear of the Royalist vanguard force. Once it reached them, the vanguard forces engaged in battle, while the rearguard attempted to cross the river by force, using bayonets. The Spanish forces fled, leaving on the bridge their leader, Coronel Juan Taira. As the assembly of enemy prisoners began, the battle was over shortly after 4:00 p.m. At least 1,600 troops and several of the Spanish commanders, including Barreiro himself, were captured at the end of the battle. New Granada's liberation was assured by this victory, which left the road to Bogotá and the city itself practically undefended, as the survivors headed towards other locations. After the battle, Santander and Anzoátegui were promoted to divisional general. On the orders of Santander, Colonel Barreiro and 38 more