In 1817, due to the organization of the Division of Volunteers of the Prince, being transferred to Brazil to help with the Conquest of Montevideo he was given the rank of Field Marshal. In 1818, he was Governor of Montevideo.