In 1924, moderate conservative Carlos Solórzano was elected president of Nicaragua. Juan Bautista Sacasa, who had served as Vice-President under overthrown President Jose Santos Zelaya, served as his Vice President. Believing the Nicaraguan government was stable, the United States Marines agreed to end its 13-year presence in the country and withdrew from Nicaragua in August 1925.