The Battle of Masan was an engagement between United Nations Command (UN) and North Korean forces, which took place early in the Korean War between August 5 and September 19, 1950, in the vicinity of Masan and the Naktong River in South Korea. It was part of the Battle of Pusan Perimeter, and was one of several large engagements fought simultaneously. The battle ended in a victory for the UN after large numbers of United States Army (US) troops were able to repel the repeated attacks of two Korean People's Army (KPA) divisions. Operating as the extreme southern flank of the Pusan Perimeter, the US 25th Infantry Division placed its regiments around the South Korean city of Masan, with the 24th Infantry Regiment and 5th Regimental Combat Team based in Haman and nearby Sobuk-san, and the 35th Infantry Regiment based along the Nam River to the west of the city. Throughout the six-week battle, the KPA 6th and 7th Divisions attacked the 25th Division's regiments in an attempt to break through the UN forces and attack Pusan. An initial UN counteroffensive out of Masan proved ineffective in stopping the KPA from advancing. In the subsequent fight, the 35th Infantry was able to repel the KPA at the Battle of Nam River and were highly regarded for these actions. However, the 24th Infantry performed very poorly at the battles of Blue Mountain and Haman, forcing the 25th Division to muster reserves to counter the KPA gains against the 24th. Background Outbreak of war Following the 25 June 1950 invasion of South Korea by North Korea, the United Nations decided to commit troops to the conflict on behalf of South Korea. The United States subsequently committed ground forces to the Korean peninsula with the goal of fighting back the KPA invasion and preventing South Korea from collapsing. However, US forces in the Far East had been steadily decreasing since the end of World War II, five years earlier, and at the time the closest forces were the 24th Infantry Division, headquartered in Japan. The division was understrength, and most of its equipment was antiquated due to reductions in military spending. Regardless, the 24th Division was ordered to South Korea. The 24th Infantry Division was the first US unit sent into Korea with the mission to take the initial "shock" of KPA advances, delaying much larger KPA units to buy time to allow