After killing everyone in Ai and burning the city, what did Joshua do to the king of Ai?


He hung him on a tree until evening.

For Joshua drew not his hand back, wherewith he stretched out the spear, until he had utterly destroyed all the inhabitants of Ai.

Only the cattle and the spoil of that city Israel took for a prey unto themselves, according unto the word of the LORD which he commanded Joshua.

And Joshua burnt Ai, and made it an heap for ever, even a desolation unto this day.

And the king of Ai he hanged on a tree until eventide. Joshua 8:26-29