By April 1927 the United States was advocating discussions between the warring sides in Nicaragua, and the US promised that for the sake of a peaceful settlement it would manage Nicaragua's elections for 1928, and the US stated that disarmament would be forced on those unwilling to lay down their arms.
http://www.fsmitha.com/h2/ch14us-5.htm
Nicaragua brought the matter to the U.N. Security Council, where the United States vetoed a resolution (11 to 1, 3 abstentions) calling on all states to observe international law. Nicaragua also turned to the General Assembly, which passed a resolution 94 to 3 calling for compliance with the World Court ruling.
https://en.wikipedia.org/wiki/Nicaragua_v._United_States
United States Intervention, 1909-33. United States interest in Nicaragua, which had waned during the last half of the 1800s because of isolationist sentiment following the United States Civil War (1861-65), grew again during the final years of the Zelaya administration.
http://countrystudies.us/nicaragua/10.htm
After United States troops left Nicaragua in January 1933, the Sacasa government and the National Guard still were threatened by Sandino's EDSN. True to his promise to stop fighting after United States marines had left the country, Sandino agreed to discussions with Sacasa. In February 1934, these negotiations began.
http://countrystudies.us/nicaragua/10.htm
Nicaragua Table of Contents. United States interest in Nicaragua, which had waned during the last half of the 1800s because of isolationist sentiment following the United States Civil War (1861-65), grew again during the final years of the Zelaya administration.
http://countrystudies.us/nicaragua/10.htm
An election in 1924 brought to power a coalition that had been engineered by the United States, and with some hope of peace in the country the Marines – except for the embassy guard – returned home.
http://www.fsmitha.com/h2/ch14us-5.htm
The first armed intervention by the United States in Nicaragua occurred under President Taft. In 1909, he ordered the overthrow of Nicaraguan President José Santos Zelaya. During August and September 1912, a contingent of 2300 U.S. Marines landed at the port of Corinto and occupied León and the railway line to Granada.
https://en.wikipedia.org/wiki/Nicaragua_v._United_States
In 1912 the United States responded to an invitation from the Conservative president, Adolfo Díaz, and sent in a small contingent of Marines – a hundred men – to protect the property of US citizens and the lives of people not Nicaraguan.
http://www.fsmitha.com/h2/ch14us-5.htm
The Republic of Nicaragua v. The United States of America (1986) ICJ 1 is a public international law case decided by the International Court of Justice (ICJ). The ICJ ruled in favor of Nicaragua and against the United States and awarded reparations to Nicaragua.
https://en.wikipedia.org/wiki/Nicaragua_v._United_States
The United States was hostile to Mexico's move, and it backed its old friend, the Conservative Adolfo Díaz, as president – although Díaz was one of the more hated men in Nicaragua. The United States promised Díaz loans, and Díaz described Mexico's aid to Sacasa as a world-wide Bolshevik plot..
http://www.fsmitha.com/h2/ch14us-5.htm
what year did the united states go to war with nicaragua
The United States go to war with Nicaragua in 1912.