On June 22, 1864, during the Union army's attempt to bypass Kennesaw Mountain, Confederate Gen. Joseph E. Johnston sent Lt. Gen. John Bell Hood's 13,000 troops down Powder Springs Road to stop a Federal threat to his flank. When Confederate skirmishers encountered Maj. Gen. Joseph Hooker's 11,000-man Union corps at Kolb's farm, Hood ordered an attack. Hooker, having learned of Hood's plans from captured Confederates, ordered his troops to dig in. At 4:00 p.m. Hood sent two of his three divisions against the waiting Federals, but after several unsuccessful charges through woods, fields, and swamps across the road, the battered Confederates withdrew. The battle cost Hood's Confederates more than 1,000 killed, wounded, or missing soldiers while inflicting fewer than 300 casualties on the Federals. Although the assault failed, it temporarily stopped Union Maj. Gen. William T. Sherman's flanking move and contributed to his decision to attack Kennesaw Mountain five days later on June 27.