When Husham died, Hadad son of Bedad, who had defeated Midian in the country of Moab, became king. Hadad was from the city of Avith.