Throughout the morning of July 20, the Army of the Cumberland crossed Peachtree Creek and began taking up defensive positions. The XIV Corps, commanded by Major General John M. Palmer, took position on the right. The XX Corps, commanded by Major General Joseph Hooker (the former commander of the Army of the Potomac who had lost the Battle of Chancellorsville) took position in the center. The left was held by a single division (John Newton's) of the IV Corps, as the rest of that corps had been sent to reinforce Schofield and McPherson on the east side of Atlanta. The Union forces began preparing defensive positions, but had only partially completed them by the time the Confederate attack began.