 His batteries were stationed on the heights east of Antietam Creek, providing long range fire against Confederate infantry positions between the East and West Woods.He commanded the artillery of the Right Grand Division at Fredericksburg.Hays was appointed brigadier general of volunteers in November 1862 and assigned command of an infantry brigade in Maj. Gen. William H. French's division in the II Corps.