half of the 14th century, the future territory of Romania became an important place of refuge for Jews expelled from the Kingdom of Hungary and Poland by King Louis I. In Transylvania, Hungarian Jews were recorded in Saxon citadels around 1492. Prince Roman I (1391-1394?) exempted the Jews from military service, in exchange for a tax of 3 löwenthaler per person. Also in Moldavia, Stephen the Great (1457–1504) treated Jews with consideration. Isaac ben Benjamin Shor of Iași (Isak Bey, originally employed by Uzun Hassan) was appointed stolnic, being subsequently advanced to the rank of logofăt; he continued to hold this office under Bogdan the Blind (1504–1517), the son and successor of Stephen. At this time both Danubian Principalities came under the suzerainty of the Ottoman Empire, and a number of Sephardim living in Istanbul migrated to Wallachia, while Jews from Poland and the Holy Roman Empire settled in Moldavia. Although they took an important part in Ottoman government and formed a large part of a community of foreign creditors and traders, Jews were harassed by the hospodars of the two Principalities. Moldavia's Prince Stephen IV (1522) deprived the Jewish merchants of almost all the rights given to them by his two predecessors; Petru Rareș confiscated Jewish wealth in 1541, after alleging that Jews in the cattle trade had engaged in tax evasion. Alexandru Lăpușneanu (first rule: 1552–61) persecuted the community alongside other social categories, until he was dethroned by Jacob Heraclides, a Greek Lutheran, who was lenient to his Jewish subjects; Lăpușneanu did not renew his persecutions after his return on the throne in 1564. The role of Ottoman and local Jews in financing various princes increased as Ottoman economic demands were mounting after 1550 (in the 1570s, the influential Jewish Duke of the Archipelago, Joseph Nasi, backed both Heraclides and Lăpușneanu to the throne); several violent incidents throughout the period were instigated by princes unable to repay their debts. During the first short reign of Peter the Lame (1574–1579) the Jews of Moldavia, mainly traders from Poland who were competing with locals, were taxed and ultimately expelled. In 1582, he succeeded in regaining his rule over the country with the help of the Jewish physician Benveniste, who was a friend of the influential Solomon Ashkenazi; the latter then exerted his influence with the Prince in favor of his coreligionists. In Wallachia, Prince Alexandru II Mircea (1567–1577) engaged as