Wächterrat
Gilani was a judge of Tehran's Islamic Revolutionary Court for 1980–85. Later, he was a member of the Guardian Council between 1986 and 1992.