 The Ghaznavid Sebuktigin made his way to Sistan, but Khalaf managed to bribe him and eventually convince him to assist him instead.With no choice left but to surrender, Husayn sent envoys to seek peace.An agreement was reached on December 25, 983, and to celebrate the peace numerous festivities were held.