During his reign, Jehoshaphat made a treaty with Ahaziah, the king of Israel, who was a very wicked king.