Adonizedek

Adonizedek was the King of Jerusalem during the Conquest of Canaan.

Coalition
''So King Adonizedek of Jerusalem appealed to Hoham, King of Hebron, Piram, King of Jarmuth, Japhia, King of Lachish and Debir, King of Eglon. -Joshua 10:3''

Adonizedek was the king of ancient Jerusalem and, when he heard that Gibeon had made a treaty with the invading Israelites lead by Joshua, made an alliance with four other Amorite kings, in order to punish Gibeon for its treason.

Defeat at Gibeon
Adonizedek and his allies were defeated by Joshua and his Israelites. In this battle, God made the sun stand still in Gibeon. With this defeat, the alliance retreated to Beth-Horon. There the alliance made their final stand against the Israelites.

Death
The Israelites, once again, prevailed has the victors of the battle. Later on, the five kings were found. They were humiliated then killed, via being hanged. There bodies were left on trees.