During his reign, the town picked up trading salt. When Hranić died, his nephew, Herzog Stjepan Vukčić Kosača inherited it. During his reign, the town grew in importance and became Stjepan's winter seat, getting a new name in the process: Herceg Novi. The Ottomans conquered Herceg Novi before 14 December 1481, and ruled for 200 years, until 1687. They built Kanli Tower on the upper edge of the city. However, there was a short pause between 1538 and 1539 when it was held by the Spaniards before they were defeated in the Siege of Castelnuovo. In their brief overlordship, the Spanish built a Hispaniola fort above the city that is well-preserved today. Evliya Çelebi visits the Bay of Kotor and mentions Croats, Bosnians and Albanians (Arnauts) who live in the Herceg Novi. In 1608 a earthquake struck Herceg Novi and devastated it. Republic of Venice gained control of the city and included it into Albania Veneta, an administrative unit on the territory of present-day coastal Montenegro. In Venice, the city was known as Castelnuovo. The Venetians refortified the old town walls and towers and reinforced the fortress with a Citadella tower (destroyed in an earthquake in 1979). On 24 August 1798, Herceg Novi was annexed by Habsburg Austria but was then ceded to Russia as per the Treaty of Pressburg on 26 December 1805. The Russians officially occupied Herceg Novi between 28 February 1806 and 12 August 1807. On 7 July 1807, Herceg Novi was ceded to Napoleon I Bonaparte's French Empire as per the Treaty of Tilsit. Official French rule over Herceg Novi began on 12 August 1807, when the Russians left the city. The city was part of Dalmatia until 14 October 1809, when it was annexed to the newly created Illyrian Provinces. Herceg Novi, as well as the rest of the Bay of Kotor, was overtaken by Montenegrin forces in 1813. It was under control of a temporary government based in Dobrota between 11 September 1813 and 10 June 1814, which was supported by Montenegro. The appearance of Austrian forces in 1814 caused the Prince-Bishop of Montenegro to turn over the territory to Austrian administration on 11 June. After Herceg Novi was retaken, as well as the rest of the bay, it became part of the Dalmatian crownland. The bay was under Austro-Hungarian control until 1918. In 1900, the two names ERZEG NOVI and CASTELNUOVO PRESSO CATTARO