Original: A peace treaty is an agreement between two hostile parties , usually countries or governments , that formally ends an armed conflict .
Simplified: The treaty was made in year 21 of Ramesses reign , probably 1258 BC .