וּבִשְׁנַ֣ת חָמֵ֗שׁ לְיוֹרָ֤ם בֶּן־אַחְאָב֙ מֶ֣לֶךְ יִשְׂרָאֵ֔ל וִיהוֹשָׁפָ֖ט מֶ֣לֶךְ יְהוּדָ֑ה מָלַ֛ךְ יְהוֹרָ֥ם בֶּן־יְהוֹשָׁפָ֖ט מֶ֥לֶךְ יְהוּדָֽה׃
And in the fifth year of Joram the son of Ahab king of Israel, Jehoshaphat being the king of Judah, Jehoram the son of Jehoshaphat king of Judah began to reign.
Read halakhic rulings (Jewish law) on II Kings 8:16: and classical halakhic sources.