Years later, he was a lieutenant in the forces of Bento Gonçalves in the Cisplatine War in 1825–1828, which culminated in a peace treaty in August 1828 that granted independence to Uruguay. There he played an important role in the Battle of Rincón de las Gallinas, saving the Brazilian army on 24 September 1825. This earned him the title of Army lieutenant. He took part in the 21st Light Cavalry Brigade commanded by Bento Gonçalves in the Battle of Ituzaingó.
