North Korea signed an armistice agreement with the United States and China on July 27, 1953, ending a war that stretched out for three years.