In November 1813, he transferred to the Northern Army, and on 4 December was promoted to lieutenant. He covered the withdrawal of Cuban troops after their defeat at Ayohuma Vilcapugio and participated in the actions of then Keeper of the Marquis, Marketing and Media and Sipe Sipe, in which he received a large wound in the arm. In 1815 he was promoted to adjutant.
