When Husham died, Hadad son of Bedad, took over as king. He was the one who defeated Midian in the country of Moab. The name of his city was Avith.