The millet system was the Ottoman Empire's arrangement for governing non-Muslim subjects through religious communities (millets), the organizational skeleton of a plural society. After Mehmed II took Constantinople in 1453, he made the Ecumenical Patriarch the head of the Orthodox millet, granting it judicial and ecclesiastical autonomy; the Armenian millet followed in 1461, and the Jewish millet at the end of the fifteenth century, when Sephardic Jews expelled from Spain entered Ottoman lands in great numbers, making Salonica and Istanbul their strongholds. Millets handled marriage, inheritance and education internally and paid the jizya in lieu of military service; church leaders also carried secular duties and collected taxes for the state. The system kept the multi-faith, multi-ethnic Balkans and Anatolia largely peaceful under imperial rule for four centuries; the Constantinople patriarchate and later Greek and Serbian church autonomy rested on it, and Phanariot Greek elites once dominated imperial diplomacy and shipping. The price was frozen religious identity and suppressed mobility of conversion and intermarriage; in the nineteenth century the Tanzimat reforms tried to replace it with equality of Ottoman citizenship, while nationalism turned millet boundaries into national borders — the making of the Balkan states came out of that transformation. It was the systematization, in Ottoman hands, of the Byzantine diocesan and Arab jizya traditions of plural governance.