This story has a story within a story. It begins with the death of Nahash, the king of Ammon (1st Samuel 11). David was touched by Nahash’s death and sent a condolence party. The prince of Ammon treated this party poorly and that insult was the beginning of the end of Ammon’s power.