After seeing minor action in the Battle of Hanover Court House on May 27, the 22nd remained in camp at Gaines' Mill for nearly a month as McClellan positioned his army for an assault on Richmond. The men of the 22nd could see the steeples of Richmond from their camp. By this time, the regiment had been reduced to roughly 750 men due to sickness over the course of the campaign and minor casualties in action.