The U.S. has had a history of inference and intervention in Mexico, most notably the Mexican-American War. During the Revolution, the Taft administration supported the Huerta coup against Madero, but when Woodrow Wilson was inaugurated as president in March 1913, it refused to recognize Huerta's regime and allowed arms sales to the Constitutionalists. Wilson ordered troops to occupy the strategic port of Veracruz in 1914, which was lifted. After Pancho Villa was defeated by revolutionary forces in 1915, he led an incursion raid into Columbus, New Mexico, prompting the U.S. to send 10,000 troops led by General John J. Pershing in an unsuccessful attempt to capture Villa. Carranza pushed back against U.S. troops being in northern Mexico. The expeditionary forces withdrew as the U.S. entered World War I. Germany attempted to get Mexico to side with it, sending a coded telegram in 1917 to incite war between the U.S. and Mexico, with Mexico to regain the territory it lost in the Mexican-American War. Mexico remained neutral in the conflict.