A series of movements by the left flank followed, which finally brought the army to the city of Petersburg, south of the James, in which the two hostile forces were kept facing each other, some portions almost constantly in collision, the fighting at times being terrific. In these movements the regiment participated, losing in the action of the 18th, one killed, on the 22nd, near Bowling Green, one killed, and one wounded; on the 23rd, at North Anna River, one wounded, and again at the same place, on the 26th, two wounded, on the 30th, near Mechanicsville, one killed, on the 1st of June, four wounded, on the 2nd, at Bethesda Church, four wounded, and eighty-six taken prisoners while on the skirmish line, Captain Kelly and Lieutenant Crossley being of the number, and on the 4th, Lieutenant Ware mortally wounded. On the 16th, the regiment crossed the James, and moved up to the front near Petersburg, and was immediately engaged, the enemy being driven slowly back, and the Union troops throwing up works to hold every inch of ground gained. In the movement of the 21st, the regiment lost one killed, and six wounded.
From this date until the middle of August, the regiment remained in the trenches, under fire day and night, from mortars, rifles, and cannons, living much of the time in bomb-proofs, and engaged in building fortifications and in picketing. On the 15th of August the regiment retired from the trenches, and joined in the movement upon the Weldon Railroad, Colonel Gwyn in command of the Third Brigade, Lieutenant Colonel Herring in command of the regiment. At ten A. M., of the 18th, line of battle was formed near Gurley House, and at noon the road was occupied, manoeuvring and fighting continuing throughout the day. On the 19th, the enemy made a heavy attack upon the right, and the regiment was moved at double-quick to the front, and took part in restoring the lines. On the 21st the enemy again attacked in strong force, coming up in several lines of battle, but was repulsed with great loss, the engagement lasting an hour. The loss of the command was one killed, one wounded, and twenty missing. The regiment remained in breast-works near the Yellow House, picketing and building forts until the morning of the 30th of September, when it moved out to the front, and joined in driving the enemy's pickets, charging and carrying a fort and line of the enemy's works.
At four in the afternoon, it moved to the support of troops of the Ninth Corps, which had been driven in. The engagement became warm, and lasted two hours. The position was held, and the enemy repulsed with great slaughter. The loss was seven killed, and twenty-six wounded, Lieutenant John Canahey being among the former, and Captain Young, and Lieutenants Seesholtz, Scott, and Conner, among the latter. Captain Young's wound proved mortal. Colonel Gwyn had his horse killed under him, and was disabled by the fall. With the exception of the movement to Hatcher's Run, on 27th of October, and that to Jarratt's Station, for the destruction of the Weldon Railroad, on the 8th of December, the regiment remained in the works near Pegram's Farm, and in camp near the Gurley House, until the 5th of February, 1865. On the latter day, breaking up winter-quarters, the corps moved upon the Halifax Road, crossed Hatcher's Run, and at half-past four attacked the enemy. In the action which ensued, known as Dabney's Mills, the regiment suffered severely in loss of officers. Captain John Scott was killed, and Colonel Herring and Captain Bayne, severely wounded. Colonel Herring had a horse killed under him, and subsequently lost a leg as a result of his wounds. For his gallantry in this action, he was brevetted Brigadier General.