Both parties agreed to end the war, and signed the agreement. It doesn't have to have the words "Peace Treaty" in the text to be one.
"A peace treaty is an agreement between two or more hostile parties, usually countries or governments, which formally ends a state of war between the parties" https://en.wikipedia.org/wiki/Peace_treaty
Both parties agreed to end the war, and signed the agreement. It doesn't have to have the words "Peace Treaty" in the text to be one.