Rayshahri served in several senior positions during his political tenure including as intelligence minister and Iran’s prosecutor general, among others.
He was later assigned the position of caretaker of Shah Abdol-Azim shrine in southern Tehran, which he held until his death.
Rayshahri was also active in teaching Quran and Hadith and founded the Quran and Hadith University, which he chaired before his death.