The american navy played a role in two major operations of the mexican war in 1845 to 1848 which is during the battle of Veracruz, it elated the invasion force that captured Veracruz by landing 12,000 troops and their equipment in one day and top finally to the internment of mexico city and the end of the war. Secondly, the pacific squadron ship eased the capture of California.