As for Makkedah, Joshua captured it on that day and struck it, and its king, with the edge of the sword. He devoted to destruction every person in it; he left none remaining. And he did to the king of Makkedah just as he had done to the king of Jericho.
Joshua 10:28
Makkedah is in the same region as the cities of the 5 kings who were involved in this battle. Either the Israelites captured it in the course of pursuing the armies of the 5 kings or else "on that day" is an idiomatic term for "at about the same time".