NET
1 Adoni-Zedek, king of Jerusalem, heard how Joshua captured Ai and annihilated it and its king as he did Jericho and its king. He also heard how the people of Gibeon made peace with Israel and lived among them.
Darby
1 And it came to pass when Adoni-zedek king of Jerusalem heard that Joshua had taken Ai and had utterly destroyed it, that he had done to Ai and its king as he had done to Jericho and its king, and that the inhabitants of Gibeon had made peace with Israel, and were among them,
KJV
1 Now it came to pass, when Adonizedek king of Jerusalem had heard how Joshua had taken Ai, and had utterly destroyed it; as he had done to Jericho and her king, so he had done to Ai and her king; and how the inhabitants of Gibeon had made peace with Israel, and were among them;