After Jehoshaphat had been ruling Judah for almost 18 years, Ahab’s son Joram became the king of Israel. He ruled in Samaria city for twelve years.