Joshua killed the king of Ai. He stuck a pole through the body. Then he set it up where people could see it. He left it there until evening. At sunset, Joshua ordered his men to remove the body from the pole. He told them to throw the body down at the entrance of the city gate. They put a large pile of rocks over the body. That pile is still there to this very day.