He also served in the Mexican -- American War from 1846 -- 1848 .
He would resign his commission on February 28 , 1848 .
He also served in the Mexican -- American War from 1846 -- 1848 , and he would resign his commission on February 28 , 1848 .