These scriptures below show Elijah was around when Jehoram was King of Judah.
1Kgs.17[ 1] And Elijah the Tishbite, who was of the inhabitants of Gilead, said unto Ahab, As the LORD God of Israel liveth, before whom I stand, there shall not be dew nor rain these years, but according to my word.
1Kgs.22[ 50] And Jehoshaphat slept with his fathers, and was buried with his fathers in the city of David his father: and Jehoram his son reigned in his stead.
2Kgs.1[ 17] So he died according to the word of the LORD which Elijah had spoken. And Jehoram reigned in his stead in the second year of Jehoram the son of Jehoshaphat king of Judah; because he had no son.
2Kgs.3[ 1] Now Jehoram the son of Ahab began to reign over Israel in Samaria the eighteenth year of Jehoshaphat king of Judah, and reigned twelve years.
[6] And king Jehoram went out of Samaria the same time, and numbered all Israel.
2Kgs.2[ 1] And it came to pass, when the LORD would take up Elijah into heaven by a whirlwind , that Elijah went with Elisha from Gilgal.
[11] And it came to pass, as they still went on, and talked, that, behold, there appeared a chariot of fire, and horses of fire, and parted them both asunder; and Elijah went up by a whirlwind into heaven.
2Chr.21[ 1] Now Jehoshaphat slept with his fathers, and was buried with his fathers in the city of David. And Jehoram his son reigned in his stead.
[3] And their father gave them great gifts of silver, and of gold, and of precious things, with fenced cities in Judah: but the kingdom gave he to Jehoram; because he was the firstborn.[ 4] Now when Jehoram was risen up to the kingdom of his father, he strengthened himself, and slew all his brethren with the sword, and divers also of the princes of Israel. [5] Jehoram was thirty and two years old when he began to reign, and he reigned eight years in Jerusalem. ( King of Judah )
[9] Then Jehoram went forth with his princes, and all his chariots with him: and he rose up by night, and smote the Edomites which compassed him in, and the captains of the chariots.
[12] And there came a writing to him from Elijah the prophet,
saying, Thus saith the LORD God of David thy father,
Because thou hast not walked in the ways of Jehoshaphat thy
father, nor in the ways of Asa king of Judah,
[16]
Moreover the LORD stirred up against Jehoram
the spirit of the Philistines, and of the Arabians, that
were near the Ethiopians: