Williams commanded the regiment during the Peninsula Campaign, where the unit was in action at the Siege of Yorktown and at the Seven Days Battles during which the regiment suffered heavy casualties at the Battle of Seven Pines and Battle of Malvern Hill. The regiment did not become engaged in heavy combat in the Maryland Campaign or the Battle of Fredericksburg and suffered few losses in them.