Captain Hamilton served as General Winfield Scott’s aide-de-camp during and after the Mexican War.