Soto succeeded his brother-in-law, Próspero Fernández Oreamuno, when he died in office[4][5] on 12 March 1885;[1][5] until 14 April, Costa Rica was still involved in Barrios' War of Reunification. On 19 April 1885, he married Fernández's daughter Pacífica Fernández Guardia.[5] On 4 December 1885, he signed a contract with Francisco María Fuentes and Pío Víquez [es] to allow the construction of hydroelectric-powered streetcars in San José.[6] Soto's administration continued Tomás Guardia Gutiérrez's liberal economic and national developments. Soto-appointed minister of education Mauro Fernández Acuña reformed education and in that established two new high schools in San José; he staffed them with European scholars, among them being Henri Pittier.[7] Soto's administration opposed Chinese immigration and supported segregation for those already in the country. He violated the former in allowing Minor Keith to bring in 2,000 Chinese workers, who were made to leave after their contract expired.[8] He ran unopposed in the 1886 general election[2] after his uncle-in-law, Víctor Guardia Gutiérrez [es], withdrew his candidacy three weeks before the first round for the "well-being of the nation". When El Nacional continued to support the Guardia candidacy, Diario de Costa Rica labelled it "unpatriotic" and responded by publishing a letter claimed to by Guardia reinforcing his decision; ultimately, Guardia never renewed his candidacy due to pressure from pro-government sectors.[9] On 24 April 1889, he and Minister of Foreign AffairsManuel de Jesús Jiménez Oreamuno signed a letter addenda that agreed that Costa Rica would not interfere with the construction of the Nicaragua Canal by the Canal Company, reinforcing the convention of arbitration signed on 10 January.[10]
During the 1889 general election, despite José Joaquín Rodríguez Zeledón's prospects for victory, he declared Ascensión Esquivel Ibarra president-elect. On 7 November, Rafael Yglesias Castro inspired a peasant march armed with knives and sticks in San José. Due to fear of outrage turning into bloodshed, the same day, Soto had Carlos Durán Cartín,[11] whom he appointed secretary of the interior in 1885,[12] serve as interim president for the remainder of his term. Rodríguez was his official successor. The last time Soto neared the presidency was when conspiracies and assassination attempts formed around Yglesias's second term as president after the 1897–1898 general election: suggestions by elites would have had Soto return to power but fell through, and Esquivel filled the position[13] on 8 May 1902,[1] to the agreement of Soto and Yglesias.[14]
^Narváez, Benjamín N. (15 June 2020). "The Power and Pitfalls of Patronage: Chinese Immigrants in Costa Rica during the Era of Exclusion, 1897–1943". Journal of Migration History. 6 (2). Brill: 216. doi:10.1163/23519924-00602003. S2CID225730770.
^Palmer, Steven Paul (2003). From popular medicine to medical populism: doctors, healers, and public power in Costa Rica, 1800-1940. Durham: De Gruyter. p. 74. ISBN978-0-8223-8469-4.
Biesanz, Mavis Hiltunen; Biesanz, Richard; Biesanz, Karen Zubris (1999). "History". The Ticos: Culture and Social Change in Costa Rica. Boulder, Colorado: De Gruyter. ISBN9781685854058.