During Ottoman rule, Acre continued to play an important role in the region via smaller autonomous sheikhdoms. Towards the end of the 18th century Acre revived under the rule of Zahir al-Umar, the Arab ruler of the Galilee, who made the city capital of his autonomous sheikhdom. Zahir rebuilt Acre's fortifications, using materials from the city's medieval ruins. He died outside its walls during an offensive against him by the Ottoman state in 1775. His successor, Jazzar Pasha, further fortified its walls when he virtually moved the capital of the Saida Eyelet ("Province of Sidon") to Acre where he resided. Jazzar's improvements were accomplished through heavy imposts secured for himself all the benefits derived from his improvements. About 1780, Jazzar peremptorily banished the French trading colony, in spite of protests from the French government, and refused to receive a consul. Both Zahir and Jazzar undertook ambitious architectural projects in the city, building several caravanserais, mosques, public baths and other structures. Some of the notable works included the Al-Jazzar Mosque, which was built out of stones from the ancient ruins of Caesarea and Atlit and the Khan al-Umdan, both built on Jazzar's orders.