All of their "Imams" were Criminals of Islam. The Qur'an had predicted that.
6:112 Remember, We have appointed enemies to every Prophet. The rebellious among the urban and the rural populations rose in opposition (since the Message struck at their personal interests.) They plotted and inspired each other with fancy words. If your Lord willed, they would not do that. Disregard them and whatever they fabricate.
6:113 Those who love quick gains and neglect the long-term benefits and the Hereafter, are parties to such fabrications. Let them take delight in it and let them earn from it what they may.
25:31 Thus We have made for every Prophet enemies among the guilty. But your Lord is Sufficient to guide and help. [6:112, 22:52-54]