During the Mexican War, Harper was a captain of volunteers that served in the northern frontier of Mexico but never saw combat and returned home to muster out in August 1848.
During the Mexican War, Harper was a captain in the 1st Virginia Infantry, commanding the volunteer company from Augusta County that served in the northern frontier of Mexico. However he never saw combat and returned home to muster out in August 1848.