sentences:  Lovell graduated from the United States Military Academy in 1842 and was commissioned as a second lieutenant in the U.S. artillery.He was severely wounded at Belén Gate during the Battle of Chapultepec in the Mexican–American War, receiving a brevet appointment to captain for his service in that battle.After serving on a variety of minor posts, he resigned from the army in 1854 to join the abortive Cuban expedition of General John A. Quitman.