Sayyid Ibrahim al-Majab "peace be upon him" and his sons and Alawit followers have traveled from the city of Kufa to the holy city of Karbala in 247 Hijri, 861 AD, where they took it as residence for them after the death of the Abbasid ruler "Al-Mutawakkil", who was narrowed to followers and supporters of Imam Hussein (peace be upon him) and his offspring.
Thanks to the presence of Mr. Al-Mujab, the tomb of Imam Al-Hussein (peace be upon him) witnessed the reconstruction, maintenance and great care of his visitors.
Source: Karbala Encyclopedia of Civilization, Historical Axis / Department of Islamic History, Karbala Center for Studies and Research, c. 2, p. 204.