the Ottoman Empire generally seemed determined to maintain their rule over the principalities and not exploit them irrationally. In an early example, Ahmed III paid part of Nicholas Mavrocordatos' sum. Administration and boyars The Phanariot epoch was initially characterized by fiscal policies driven by Ottoman needs and the ambitions of some hospodars, who (mindful of their fragile status) sought to pay back their creditors and increase their wealth while in a position of power. To make the reigns lucrative while raising funds to satisfy the needs of the Porte, princes channeled their energies into taxing the inhabitants into destitution. The most odious taxes (such as the văcărit first imposed by Iancu Sasul in the 1580s), mistakenly identified with the Phanariots in modern Romanian historiography, were much older. The mismanagement of many Phanariot rulers contrasts with the achievements and projects of others, such as Constantine Mavrocordatos (who abolished serfdom in Wallachia in 1746 and Moldavia in 1749) and Alexander Ypsilantis, who were inspired by Habsburg serf policy. Ypsilantis tried to reform legislation and impose salaries for administrative offices in an effort to halt the depletion of funds the administrators, local and Greek alike, were using for their own maintenance; it was, by then, more profitable to hold office than to own land. His Pravilniceasca condică, a relatively-modern legal code, met stiff boyar resistance. The focus of such rules was often the improvement of state structure against conservative wishes. Contemporary documents indicate that, despite the change in leadership and boyar complaints, about 80 percent of those seated in the Divan (an institution roughly equivalent to the estates of the realm) were members of local families. This made endemic the social and economic issues of previous periods, since the inner circle of boyars blocked initiatives (such as Alexander Ypsilantis') and obtained, extended and preserved tax exemptions. Russian influence The Phanariots copied Russian and Habsburg institutions; during the mid-18th century they made noble rank dependent on state service, as Peter I of Russia did. After the Treaty of Kuchuk-Kainarji (1774) allowed Russia to intervene on the side of Ottoman Eastern Orthodox subjects, most of the Porte's tools of political pressure became ineffective. They had to offer concessions to maintain a hold on the countries as economic and strategic assets. The treaty made any increase in tribute impossible, and between 1774 and the 1820s it plummeted from about 50,000 to 20,000 gold coins (equivalent to