 When the Congress was dissolved in 1820, he and his colleagues were imprisoned as traitors.Gallo returned to Santiago del Estero and was a signatory of the peace treaty of Vinará in 1821, signing on his province's behalf with Pedro Miguel Aráoz of Tucumán and José Andrés Pacheco de Melo of Córdoba.He was a minister in the government of Juan Felipe Ibarra, before retiring in Tucumán where he died.