In the course of time, the king of the Ammonites died, and his son Hanun succeeded him as king.
References for 2 Samuel 10:1
David thought, "I will show kindness to Hanun son of Nahash,1 just as his father showed kindness to me." So David sent a delegation to express his sympathy to Hanun concerning his father. When David's men came to the land of the Ammonites,