Joshua 8:24
8:24 When Israel had finished killing all the men of Ai who had chased them toward the desert (they all fell by the sword), all Israel returned to Ai and put the sword to it.
Joshua 8:28-29
8:28 Joshua burned Ai and made it a permanently uninhabited mound (it remains that way to this very day).
8:29 He hung the king of Ai on a tree, leaving him exposed until evening. At sunset Joshua ordered that his corpse be taken down from the tree. They threw it down at the entrance of the city gate and erected over it a large pile of stones (it remains to this very day).