During the Mexican–American War the ships of the Home Squadron, commanded by Commodore David Conner, USN fought in several engagements against Mexican forces. Many of the Home Squadron vessels were attached to vice commander Commodore Matthew C. Perry's Mosquito Fleet which was involved in the battles of Tuxpan, Tabasco, Villahermosa and Veracruz. No ship-to-ship combat occurred though several merchant vessels were captured, the Home Squadron primarily operated against Mexican coastal forts and artillery batteries.