 Women judges were also removed (although they could still be lawyers, or after 1997, secondary judges in civil cases).Between 1979 and 1982, the entire pre-Revolutionary judiciary was purged, and their duties replaced by "Revolutionary Tribunals" set up in every town.These tribunals ruled on "Islamic law", but were in practice unfair, biased, and the judges were inexperienced and often incompetent.