Around 10,000 of the L'viv Armenian community who had settled in Moldavia moved from there during the Turko-Polish war in 1671 to Bucovina and Transylvania. In Bucovina, they lived in the city of Suceava and its vicinity. In Transylvania they founded two new cities, Erszebetvaros (Elisabethstadt, Dumbrăveni) and Szamos-ujvar (Armenierstadt, Gherla), which, as a special favor, were declared free cities by Charles VI, Emperor of Austria (1711–1740).