Under European colonial rule, the institution of "dar al-ifta" was established in a number of madrasas (law colleges) as a centralized place for issuing of fatwas, and these organizations to a considerable extent replaced independent muftis as religious guides for the general population. Following independence, most Muslim states established national organizations devoted to issuing fatwas. One example is the Egyptian Dar al-Ifta, founded in 1895, which has served to articulate a national vision of Islam through fatwas issued in response to government and private queries. National governments in Muslim-majority countries also instituted councils of senior religious scholars to advise the government on religious matters and issue fatwas. These councils generally form part of the ministry for religious affairs, rather than the justice department, which may have a more assertive attitude toward the executive branch.