In the Battle of Veracruz (1838) he played an important role in the attack on San Juan de Ulúa.