Ahaziah, son of Jehoram, became king of Judah in the twelfth year of the reign of Joram, son of Ahab, king of Israel.