Jehoram - son of Jehosaphat

was the son of King Jehoshaphat, and he ruled in the southern kingdom of Judah from 853 to 841 BC. The other King Jehoram was the son of the wicked King Ahab, and he ruled in the northern kingdom of Israel from 852 to 841 BC . The name Joram is a shortened form of Jehoram. Complicating matters is the fact that both Jehorams were brothers-in-law to each other.

Jehoram son of Jehoshaphat was 32 years old when he began to reign, and he reigned for four years with his father and another eight years on his own in Judah (2 Kings 8:16–17)—a total of twelve years. Although Jehoshaphat had been a good and godly king, Jehoram did not follow in his father’s footsteps. He married Athaliah, daughter of King Ahab (and sister of Ahab’s son Joram), and he became an evil ruler. But, in spite of King Jehoram’s wickedness, God kept his covenant with David and refrained from destroying Judah (2 Kings 8:19).

Sadly, God’s mercy had no effect on Jehoram’s behavior. He led his kingdom into idolatry and lewdness, and he caused both Edom and Libnah to revolt against Judah (2 Chronicles 21:8, 11). So God sent word through the prophet Elijah that, because Jehoram had led the people into sin, there would be a devastating attack on Jehoram’s house and Jehoram himself would be struck with an incurable bowel disease (verses 14–15). As part of God’s judgment, the Philistines and Arabs “attacked Judah, invaded it and carried off all the goods found in the king’s palace, together with his sons and wives. Not a son was left to him except Ahaziah, the youngest” (verse 17). The disease killed Jehoram in a gruesome and agonizing manner at the age of 40. The people did not mourn this wicked king (verses 18–20).
Source: gotquestions.org