1 Kings 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. 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.
The verse belongs to the history of Judah and Israel after the division of the kingdom, extending through the death of Jehoshaphat. That history is recorded in the later chapters of 1 Kings and in all of 2 Kings. In that period Israel and Judah continued as separate kingdoms, sometimes at war and sometimes at peace, until Israel was overthrown.
The verse falls within the brief account of Jehoshaphat, the good king of Judah. It places his reign in the same period as the reign of Ahab, king of Israel. The account of Ahab's reign spans 1 Kings 16-22. The chapter containing the verse also records Jehoshaphat's mistaken alliance with Ahab.