new ruler, the Ottomans. The Ottoman Empire gave timars—land grants—to soldiers under the condition that they and their families would stay there permanently. An action of far-reaching importance because the predefined soldiers became the nucleus of the island's Turkish community. During the 17th century the Turkish population grew rapidly, partly by Greek conversion (including converts who retained some pre-Islamic practices) joined to them. Most of the Turks who had settled on the island during the three centuries of Ottoman rule remained when control of Cyprus—although not sovereignty—was ceded to Britain in 1878. The distinction between the two groups was by both religion and language. The Ottomans applied the millet system to Cyprus, which allowed religious authorities to govern their own non-Muslim minorities. This system reinforced the position of the Orthodox Church as the ethno-religious institution of the ethnic Greek population. Gradually, the Archbishop of Cyprus became not only religious but ethnic leader as well, something the Ottoman Turks promoted, wanting to have somebody responsible for the loyalty of the Greek flock. In this way, the Church undertook the task of the guardian of the Greek cultural legacy until the island was ceded to Britain. Greek independence movement 1821–1829 Many Greek Cypriots supported the Greek independence effort that began in 1821, leading to severe reprisals by the Ottoman Empire. On 15 October 1821, a massive Turkish mob seized and hanged an archbishop, five bishops, thirty six ecclesiastics, and hanged most of the Greek Cypriots in Larnaca and the other towns. By September 1822, sixty-two Cypriot villages and hamlets had entirely disappeared. 1869–1878 In 1869 the Suez Canal opened, and the United Kingdom showed increasing interest in the island, which is situated in what had suddenly become a very convenient location. When the Ottomans were defeated by the Russians in 1877 and the Berlin Congress took place the next year in order to revise the Treaty of San Stefano which was signed by Russia and the Ottoman Empire according to terms dictated by the former, it was officially announced on 9 July 1878 that on the 4th of preceding June, the British and the Sultan had secretly countersigned the Convention of Constantinople by virtue of which the possession and administration of Cyprus was vested in Great Britain. As exchange for control of Cyprus, the UK agreed to support the Ottoman Empire in the Russian-Turkish War. This agreement was formalised as the Cyprus