المختار الثقفي
The first permanent settlement of Arab settlers in Qom took place during the revolts of Mukhtar al-Thaqafi and Moṭarref b. Moḡira b. Šaʿba in 66–77/685–96, when small groups of refugees moved there and Qom itself was affected by the fighting between the Umayyad state power and the rebels