The Korean war lasted about three years but the Korean Armistice Agreement only ceased-fire. It did not end the war.
Meaning that it did not end after three years. It was only announced recently as of 2018 that the war might possibly come to a close after I believe at least over 60 years.