However , the prospect of further protracted conflict between the two states eventually persuaded both their rulers , Hatusiliš III and Ramesses , to end their dispute and sign a peace treaty .
Fear of further conflict between the two states persuaded both rulers , Hattusili III and Ramesses II , to end their dispute and sign a peace treaty .