In early 1914 during the Mexican Revolution, the United States decided to intervene in the fighting. While en route to Mexico on April 16, "Utah" was ordered to intercept the German-flagged steamer , which was carrying arms to the Mexican dictator Victoriano Huerta. "Ypiranga"s arrival in Veracruz prompted the United States to occupy the city and Foster at the head of his company led his sailors ashore during the fighting April 21–22, 1914. For distinguished conduct in battle, he was decorated with the Medal of Honor, the United States' highest and most-prestigious decoration.