When Jehoram was king over Judah, Edom refused to remain under Judah's control. They set up their own king.