All the horses died, and Bolívar lost many men.But still, the army struggled on until finally, exhausted and out of supplies, they descended from the mountains into New Granada.There they were given fresh supplies and horses.As Bolívar had hoped, his army surprised the Spanish troops.The main Spanish army was beaten, and Bolívar marched into Bogotá almost without resistance.