As the Peninsula Campaign developed, Confederate General Joseph E. Johnston moved his army east to reinforce Magruder and meet the challenge presented by McClellan's forces.
In the early morning hours of May 4, the Confederates quietly withdrew from the Warwick Line, and, electing not to defend the Williamsburg Line, withdrew beyond it toward Richmond.