Attached to the Provisional Brigade, Defenses of Bermuda Hundred, U.S. Army of the James, from September to November 1864, Hoffman and his fellow 208th Pennsylvanians performed fatigue and picket duties in the vicinity of Bermuda Hundred, Virginia as part of the operations related to the Siege of Richmond. Reassigned to the Provisional Brigade, 9th U.S. Army Corps' Army of the Potomac for December of that year, they supported the Union's Weldon Railroad Expedition. Reassigned to the 9th Corps' 1st Brigade, 3rd Division, they then fought in the battles of Dabney's Mill and Hatcher's Run (February 5–7, 1865), Fort Stedman (March 25), and in the Appomattox Campaign (March 28 to April 9).