Despite some intelligence that Bolívar was on the move, the Spanish considered the route impassable, and therefore, they were taken by surprise when Bolívar's small army emerged from the mountains on July 5.