Treaty of Vienna
The Ottomans laid siege to the city in 1598, however the siege failed. After the Treaty of Vienna (1606), the city was permanently incorporated in the Principality of Transylvania by imperial decree.