What happened initially when the UN forces went to support South Korea?

When the UN forces went to support South Korea, they were met with initial success as they were able to push back the North Korean forces and reclaim lost territory. The successful counteroffensive by the UN forces was led by General Douglas MacArthur, who orchestrated a brilliant amphibious landing at Inchon that turned the tide of the war in favor of the UN forces.