hiː fˈɔːt ɪnðə mˈɛksɪkən ɐmˈɛɹɪkən wˈɔːɹ ænd dˈʊɹɹɪŋ ðɪ ɐmˈɛɹɪkən sˈɪvəl wˈɔːɹ æz ɐ kˈɜːnəl ænd nˌɪɹ ðɪ ˈɛnd ʌvðə wˈɔːɹ æz ɐ bɹˈɛvɪt dʒˈɛnɚɹəl ɪnðə jˈuːniən ˈɑːɹmi.
He fought in the Mexican–American War and during the American Civil War as a  colonel and near the end of the war as a brevet general in the Union army.