On October 8, 1863, Peck was promoted to colonel of the 9th Louisiana to succeed Leroy A. Stafford. He led the regiment in the battles of the Wilderness, Spotsylvania, and Cold Harbor in May and June 1864 during the Overland Campaign.