Korean Armistice Agreement
After more than two years of talks, the armistice was signed at Panmunjom, fixing the Military Demarcation Line and the Demilitarized Zone.

U.S. Department of Defense (F. Kazukaitis. U.S. Navy) · Public domain · Source
At Soviet suggestion, armistice talks began at Kaesong in July 1951 and later moved to Panmunjom. The main issues were where to draw the demarcation line and how to repatriate prisoners (voluntary or automatic). Opposing an armistice, the Rhee government released anti-communist prisoners in June 1953.
On 27 July 1953 the UN commander and the North Korean and Chinese commanders signed the agreement; the South Korean government did not sign. It set the Military Demarcation Line and the Demilitarized Zone and created the Military Armistice Commission and the Neutral Nations Supervisory Commission.