Prior to the U.S. occupation, the long period of civil strife had encouraged the development of a variety of private armies. The freshly elected government of President Carlos José Solórzano requested that the U.S. Marines (equally interested in central control) remain in Nicaragua until an indigenous internal security force could be trained; for that effect, the Nicaraguan government hired in 1925 a retired U.S. General to help set up a new paramilitary gendarmerie force, titled the "Guardia Nacional de Nicaragua" (National Guard of Nicaragua). That same year, U.S. forces left the country, but after a civil war broke out, they returned in 1926 and took over the command (and training) of the National Guard from 1927 to 1933, when it was returned to Nicaraguan control under the government of President Juan Bautista Sacasa.