In 1826 he went to the Banda Oriental (present-day Uruguay, where he fought in the war with Brazil, and took part on the Battle of Ituzaingó under colonel José María Paz; where the colonel was promoted to general and Casanovas to the rank of colonel.