El Potroso was reinforced by a fort by way of an 1826 decree by President Bernardino Rivadavia, and on December 27, 1827, the citadel was established under the command of a veteran of the Argentine War of Independence, Bernardino Escribano, as "Fuerte de la Federación". The advent of Buenos Aires Province Governor Juan Manuel de Rosas led to Escribano's 1829 destitution as commander; though the intervention of an officer, Isidoro Suárez, averted a bloodbath. Suárez, a veteran of one of the last battles of the War for Independence (the Battle of Junín, in Perú), inadvertently gave the failing settlement its new name by his actions: "Junín."