 By April 8, 1781 he had attained the rank of surgeon and joined the regiment at Zamora.As part of this regiment he went to America in the expedition of the Marquess of Socorro.From the Venezuelan port of La Guaira, he embarked for Havana, then for Verzcruz, and was the director of the hospital of Xalapa for three months.