His father, Jehoshaphat, had formed an alliance with the Kingdom of Israel, and one of the terms of this alliance was that Jehoram married Athaliah, the daughter of Ahab. Despite this alliance with the stronger northern kingdom, Jehoram's rule of Judah was shaky. Edom revolted, and when Jehoram marched against this people, his army fled before the Edomites, and he was forced to acknowledge their independence.[4] The town of Libnah revolted during his reign, according to 2 Chronicles 21:10, because he "had abandoned Yahweh, God of his fathers."