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