resented by locals during the rules of Radu Mihnea in the early 17th century. Matei Basarab, a boyar appointee, brought a long period of relative peace (1632–1654), with the noted exception of the 1653 Battle of Finta, fought between Wallachians and the troops of Moldavian prince Vasile Lupu—ending in disaster for the latter, who was replaced with Prince Matei's favourite, Gheorghe Ștefan, on the throne in Iași. A close alliance between Gheorghe Ștefan and Matei's successor Constantin Șerban was maintained by Transylvania's George II Rákóczi, but their designs for independence from Ottoman rule were crushed by the troops of Mehmed IV in 1658–1659. The reigns of Gheorghe Ghica and Grigore I Ghica, the sultan's favourites, signified attempts to prevent such incidents; however, they were also the onset of a violent clash between the Băleanu and Cantacuzino boyar families, which was to mark Wallachia's history until the 1680s. The Cantacuzinos, threatened by the alliance between the Băleanus and the Ghicas, backed their own choice of princes (Antonie Vodă din Popești and George Ducas) before promoting themselves—with the ascension of Șerban Cantacuzino (1678–1688). Russo-Turkish Wars and the Phanariotes Wallachia became a target for Habsburg incursions during the last stages of the Great Turkish War around 1690, when the ruler Constantin Brâncoveanu secretly and unsuccessfully negotiated an anti-Ottoman coalition. Brâncoveanu's reign (1688–1714), noted for its late Renaissance cultural achievements (see Brâncovenesc style), also coincided with the rise of Imperial Russia under Tsar Peter the Great—he was approached by the latter during the Russo-Turkish War of 1710–11, and lost his throne and life sometime after sultan Ahmed III caught news of the negotiations. Despite his denunciation of Brâncoveanu's policies, Ștefan Cantacuzino attached himself to Habsburg projects and opened the country to the armies of Prince Eugene of Savoy; he was himself deposed and executed in 1716. Immediately following the deposition of Prince Ștefan, the Ottomans renounced the purely nominal elective system (which had by then already witnessed the decrease in importance of the Boyar Divan over the sultan's decision), and princes of the two Danubian Principalities were appointed from the Phanariotes of Constantinople. Inaugurated by Nicholas Mavrocordatos in Moldavia after Dimitrie Cantemir, Phanariote rule was brought to Wallachia in 1715 by the very same ruler. The tense relations between boyars and princes brought a decrease in the number of taxed people (as a privilege gained by the former), a subsequent increase in total taxes,