The United States occupation of the Mexican port of Veracruz lasted for six months in response to the Tampico Affair of April 9, 1914. The incident came in the midst of poor diplomatic relations between Mexico and the United States, related to the ongoing Mexican Revolution.