only the Jewish inhabitants of Balat, repopulating the city with Christians and Muslims from throughout the whole empire and the newly conquered territories. Phanar was repopulated with Greeks from Mouchlion in the Peloponnese and, after 1461, with citizens of Empire of Trebizond. The roots of Greek ascendancy can be traced to the Ottoman need for skilled, educated negotiators as their empire declined and they relied on treaties rather than force. During the 17th century, the Ottomans began having problems in foreign relations and difficulty dictating terms to their neighbours; for the first time, the Porte needed to participate in diplomatic negotiations. With the Ottomans traditionally ignoring Western European languages and cultures, officials were at a loss. The Porte assigned those tasks to the Greeks, who had a long mercantile and educational tradition and the necessary skills. The Phanariots, Greek and Hellenized families primarily from Constantinople, occupied high posts as secretaries and interpreters for Ottoman officials. Diplomats and patriarchs As a result of Phanariot and ecclesiastical administration, the Greeks expanded their influence in the 18th-century empire while retaining their Greek Orthodox faith and Hellenism. This had not always been the case in the Ottoman realm. During the 16th century, the South Slavs—the most prominent in imperial affairs—converted to Islam to enjoy the full rights of Ottoman citizenship (especially in the Eyalet of Bosnia; Serbs tended to occupy high military positions. A Slavic presence in Ottoman administration gradually became hazardous for its rulers, since the Slavs tended to support Habsburg armies during the Great Turkish War. By the 17th century the Greek Patriarch of Constantinople was the religious and administrative ruler of the empire's Orthodox subjects, regardless of ethnic background. All formerly-independent Orthodox patriarchates, including the Serbian Patriarchate renewed in 1557, came under the authority of the Greek Orthodox Church. Most of the Greek patriarchs were drawn from the Phanariots. Two Greek social groups emerged, challenging the leadership of the Greek Church: the Phanariots in Constantinople and the local notables in the Helladic provinces (kodjabashis, dimogerontes and prokritoi). According to 19th-century Greek historian Constantine Paparrigopoulos, the Phanariots initially sought the most important secular offices of the patriarchal court and could frequently intervene in the election of bishops and influence crucial decisions by the patriarch. Greek merchants and clergy of Byzantine aristocratic origin, who acquired economic and political influence and were later known as Phanariots, settled in extreme northwestern Constantinople (which had become