The UN forces were organized under the command of the Eighth United States Army, which served and was headquartered at Taegu. Under it were three weak US divisions; the 24th Infantry Division was brought to the country early in July, while the 1st Cavalry Division and 25th Infantry Division arrived between July 14 and 18. These forces occupied the western segment of the perimeter, along the Naktong River. The ROK, a force of 58,000, was organized into two corps and five divisions; from east to west, I Corps controlled the 8th Infantry Division and Capital Divisions, while II Corps controlled the 1st Infantry Division and 6th Infantry Division. A reconstituted ROK 3rd Infantry Division was placed under direct ROK control. Morale among the UN units was low due to the large number of defeats incurred to that point in the war. US forces had suffered over 6,000 casualties over the past month, while the ROK had lost an estimated 70,000.