A small part of the main corps set off towards Panamá, while the main contingent was directed from Puerto Cabello towards the Neogranadine coastal city of Santa Marta which was still in royalist hands.