Task: Text Categorization
Input (English): This nation was ruled from 1894 to 1909 by the dictator Jos Santos Zelaya, and its president Adolfo Diaz signed a 1914 treaty with the United States. More recent leaders of this nation have included Enrique Bolaos and Arnoldo Alemn, the latter of whom defeated the National Opposition Union of Violeta Chamorro in 1996. This country was a Cold War ally of the US during the dictatorship of Anastasio Somoza, who had overseen the assassination of populist leader Augusto Csar Sandino, but became a bastion of socialism after its rightist Contras were defeated by the Sandinistas of Daniel Ortega. For 10 points, name this Central American nation with capital at Managua.
Output (English): Social Science