out an enlistment with a previous regiment. Bartlett was placed in command of the 57th which was formed in Worcester, Massachusetts. The unit was sent to Virginia before it was fully organized, and Bartlett would not receive his new commission as colonel of the 57th until April 9, 1864, although the commission was made retroactive to August 1863. The 57th Massachusetts became part of the IX Corps of the Army of the Potomac and arrived at the front in time for Ulysses S. Grant's Overland Campaign; a relentless series of attacks by Union forces during the spring of 1864 aimed at grinding down Robert E. Lee's Army of Northern Virginia. Early in the campaign, Bartlett was again wounded, this time in the head, during the Battle of the Wilderness on May 6, 1864. He returned to Massachusetts and, while recovering, received a promotion to brigadier general, U.S. Volunteers, on June 22, 1864, to rank from June 20, 1864. Bartlett returned to the Army of the Potomac in July 1864. Brigade command Upon his return, Bartlett was placed in command of a brigade (1st brigade, 1st division of the IX Corps) consisting almost entirely of Massachusetts regiments. During July, he played a small role in the planning of the Battle of the Crater. This was a bold attempt to break the Siege of Petersburg by digging a mine beneath Confederate entrenchments and detonating a massive amount of gunpowder to create a gap through which Union forces could assault the city. The detonation on July 30, 1864 was successful, but the Union assault was disorganized and failed. Brig. Gen. James H. Ledlie's division, of which Bartlett's brigade was a large part, led the attack. In the battle, Bartlett's prosthetic leg was shot away. Unable to retreat with the rest of his men, Bartlett was captured by Confederates. Bartlett spent two months in Libby Prison where he suffered severe illness. He was eventually released through a prisoner exchange at the end of September 1864, however it was several months before he recovered from his illness. Division command In June 1865, Bartlett returned to the army two months after the Confederate surrender. Although hostilities had ended, a large portion of the Union Army still remained on active duty and Bartlett was promoted to the command of the 1st Division of the IX Corps on June 17, 1865. On January 13, 1866, President Andrew Johnson