He assumed the Presidency of Peru during an epoch of civil war, which divided Peru between the followers of Ramón Castilla's government and those of Domingo Elías Carbajo.
After completing his elementary studies, he travelled to
coolies
to replace the declining work of African slaves in 1849.
After the defeat of the
Ramon Castilla, Elías was assigned the governorship of the northern Peruvian provinces. The internal Peruvian conflict was still undecided between the military factions of the country: Vivanco's and Echenique
's against Castilla's and San Román's.
During this traumatic and polarizing period of Peruvian history, writes the Peruvian historian
Jorge Basadre Grohmann
, the "civil Elías" decided to convert himself into the leader of the tiredness of the country upon the "ever-lasting internal war". Elías declared himself the "Political and Military chief" of Peru on July 17, 1844.
When Echenique's forces threatened to return to the capital, Elías declared the
prepared to confront Echenique who, in the end and to everyone's astonishment, never arrived. This history week became known in Peru as the "Magna Week."
Soon after, Elías ended his government upon the triumph of Castilla over Vivanco.
Elías occupied various public posts such as minister and deputy of Ica (1845). He was
Minister of Finance from August 1844 to April 1846.[1] He was also Peruvian minister in Bolivia (1847). He was a candidate for the Presidency of Peru in the controversial elections of 1851, when he was defeated by Echenique. During the latter's government, he fought rampant corruption and above all an internal debt through his famous letters against the government. For these actions Elías was exiled to Guayaquil
, Ecuador.
Elías did not cease in his actions to reach the government and returned to Peru through
. He returned to Peru in 1858 to launch an unsuccessful presidential campaign. Thereafter Elías retired from politics and made a living from commercial and agricultural activities.
Elías was involved in guano mining on Chincha Islands and importing of Chinese workers from Fujian.[3]