Answer
Phelps served in the Mexican–American War before the Civil War. This conflict lasted from 1846 to 1848 and was fought between the United States and Mexico over the annexation of Texas. The war resulted in the United States gaining significant territory in the Southwest, including California and New Mexico.