Under Muslim rule, the ethnic Copts were cut off from the main stream of Christianity, and were compelled to adhere to the Pact of Umar covenant. They were assigned to Dhimmi status. Their position improved dramatically under the rule of Muhammad Ali in the early 19th century. He abolished the Jizya (a tax on non-Muslims) and allowed ethnic Copts to enroll in the army. Pope Cyril IV, 1854–61, reformed the church and encouraged broader Coptic participation in Egyptian affairs. Khedive Isma'il Pasha, in power 1863–79, further promoted the Copts. He appointed them judges to Egyptian courts and awarded them political rights and representation in government. They flourished in business affairs.