After independence the Algerian government asserted state control over religious activities for purposes of national consolidation and political control. Islam became the religion of the state in the new constitution (Article 2), and was the religion of its leaders. The state monopolized the building of mosques, and the Ministry of Religious Affairs controlled an estimated 5,000 public mosques by the mid-1980s. Imams were trained, appointed, and paid by the state, and the Friday khutba, or sermon, was issued to them by the Ministry of Religious Affairs. That ministry also administered religious property (the habus), provided for religious education and training in schools, and created special institutes for Islamic learning. Islamic law ("sharia") principles were introduced into family law in particular, while remaining absent from most of the legal code; thus, for example, while Muslim women were banned from marrying non-Muslims (by the Algerian Family Code of 1984), wine remained legal.