International Standard Version The residents of Jerusalem made Jehoram's son Ahaziah king in his place after the raiding party that had invaded the city with the Arabs had killed all of the older sons. That's how Jehoram's son Ahaziah became king of Judah.
American Standard Version And the inhabitants of Jerusalem made Ahaziah his youngest son king in his stead; for the band of men that came with the Arabians to the camp had slain all the eldest. So Ahaziah the son of Jehoram king of Judah reigned.
Young's Literal Translation And the inhabitants of Jerusalem cause Ahaziah his youngest son to reign in his stead, (for all the elder had the troop slain that came in with the Arabians to the camp,) and Ahaziah son of Jehoram king of Judah reigneth.