Dhimmī (Arabic: ذمي ḏimmī, IPA: [ˈðimmiː], collectively أهل الذمة ʾahl aḏ-ḏimmah/dhimmah "the people of the covenant") or muʿāhid (معاهد) is a historical term for non-Muslims living in an Islamic state with legal protection and certain restrictions. The word literally means "protected person", referring to the state's obligation under sharia to protect the individual's life, property, as well as freedom of religion, in exchange for loyalty to the state and payment of the jizya tax, in contrast to the zakat, or obligatory alms, paid by the Muslim subjects. Dhimmi were exempt from military service and other duties assigned specifically to Muslims if they paid the poll tax (jizya) but were otherwise equal under the laws of property, contract, and obligation. Dhimmis were subject to specific restrictions as well, which were codified in agreements like the Pact of ʿUmar. These included prohibitions on building new places of worship, repairing existing ones in areas where Muslims lived, teaching children the Qurʾān, and preventing relatives from converting to Islam. They were also required to wear distinctive clothing, refrain from carrying weapons, and avoid riding on saddles.