Some older madrassas functioned like religious universities at which several scholars taught diverse religious and secular subjects. Students, or talabehs, lived on the grounds of the madrassas and received stipends for the duration of their studies, usually a minimum of seven years, during which they prepared for the examinations that qualify a seminary student to be a low-level preacher, or mullah. At the time of the Revolution, there were slightly more than 11,000 talabehs in Iran, approximately 60 percent of them at the madrassas in Qom.