Wilson took office during the Mexican Revolution, which had begun in 1911 after liberals overthrew the military dictatorship of Porfirio Díaz. Shortly before Wilson took office, conservatives retook power through a coup led by Victoriano Huerta. Wilson rejected the legitimacy of Huerta's "government of butchers" and demanded Mexico hold democratic elections. After Huerta arrested U.S. Navy personnel who had accidentally landed in a restricted zone near the northern port town of Tampico, Wilson dispatched the Navy to occupy the Mexican city of Veracruz. A strong backlash against the American intervention among Mexicans of all political affiliations convinced Wilson to abandon his plans to expand the U.S. military intervention, but the intervention nonetheless helped convince Huerta to flee from the country. A group led by Venustiano Carranza established control over a significant proportion of Mexico, and Wilson recognized Carranza's government in October 1915.