During this time, he also participated in Seyyed Mohammad Hossein Tabatabai’s traveling and healing course; he also participated in Hossein Ali Montazeri’s foreign jurisprudence course for several years; and he also taught many level course books in jurisprudence, principles, wisdom, and interpretation many times in Qom seminary. Also, he was one of the professors at Tehran University and Imam Jafar Sadegh University’s Faculty of Theology. Ali Motahari, Zahra Mostafavi, Ahmad Khomeini, Majid Ansari, and Ahad Faramarz Qaramalki are among his students. Mohammadi Gilani, after the victory of the 1357 revolution, was appointed by Seyyed Ruhollah Khomeini as the ruler of Sharia, and after that, he became the head of the courts of the Islamic revolution. According to reports, he is considered one of the main figures in the executions of the 1360s.