metropolis of Ioannina. In 1661, both the Muslims and the Christians of the region had joined in rebellion against the Ottomans. In 1720, the villages of Himarë, Palasa, Ilias, Vuno, Pilur and Qeparo refused to submit to the Pasha of Delvina. In 1759–1760, local leaders sent three letters to the government of the Russian Empire, stating that the population of Himarë was Orthodox Christian, Albanian-speaking (with the educated speaking Greek and the nobility Italian) and willing to join an anti-Ottoman uprising, provided the Russians would support a liberation movement of the Greece. The Himariots did revolt in 1767, laying siege to Delvinë and Vlorë, but were eventually defeated by Ottoman reinforcements from nearby regions. This defeat resulted in large numbers fleeing to Apulia and Corfu, where many were recruited as Albanian contingents for the Russian fleet. The Italian missionary Giuseppe Schiro, who visited the region, wrote during the same period (1722) that the settlements of Himarë (town), Dhërmi, and Palasë were ethnically Greek, while the rest ethnically Albanian. They all wrote in the Greek dialect of the region in their "in-group" communication, mixed with Albanian, Turkish, Italian and some Arabic words. They used Greek in their correspondence with the Pope and other representatives of western countries, as well as with the Russian Empire. When they communicated in Italian, they used a translator, but signed in Greek, with Greek conferments of their names. Their preference of writing in Greek was conscious and not imposed by any conditions or a secretariat. At that time (1730-1750) after extensive Islamization the term "Albanians" in local literature referred to the inhabitants of nearby Kurvelesh province, or as an identifier of the Islamized Himariotes located in the same province, who were portrayed as adversaries of Himarë. Late Ottoman period The Orthodox-Albanian communities of the Himariots and Souliotes were often in conflict with Ali Pasha of Yanina. In 1797, Ali Pasha, the Muslim Albanian ruler of the de facto independent Pashalik of Yanina, led a raid on the town of Himarë because they supported his enemy, the Souliotes, and more than 6,000 civilians were slaughtered. Two years later, Ali Pasha tried to create good relations with the Himariotes after declaring their enclave part of his emerging semi-independent state, by financing various public works and churches. A church he built near Himarë, opposite of the Porto Palermo (Panormos) Castle is the largest and most magnificent in the region