 He hanged the king of Ai on a tree until evening. When the sun was going down, Joshua gave the command and they took the kings body down from the tree and threw it in front of the city gates. There they set up a great heap of stones on top of it. That heap remains there to this day. 