 Later that evening, Hays (although still a brigadier general and junior in rank to Caldwell), was assigned to command the II Corps.He led the corps throughout the summer until permanent command was given to Maj. Gen. Gouverneur K. Warren in mid-September.In November, Hays was appointed provost marshal of the southern district of New York, and was also promoted to major in the regular army.