In the spring of 1862, Banks's forces were confronted by Lt. Gen. Thomas Jackson's Confederate forces in a series of battles known as Jackson's Valley Campaign. In May 1862, Andrews succeeded Col. George Henry Gordon as commander of the 2nd Massachusetts and led the regiment during the First Battle of Winchester. On June 13, 1862, Andrews was promoted to colonel.