sentences:  He was promoted to Major on January 5, 1863.He was shot in the chest on the first day at Gettysburg and lay on the battlefield until the Confederate withdrawal three days later.After a lengthy recovery, he rejoined the Army and was appointed by President Abraham Lincoln military superintendent of the War Department at Washington, D.C., in 1864.