In 1808, Napoleon’s troops occupied the territory, prompting the Habsburgs’ Austrian rule to replace the Republic. Dubrovnik became a part of the Kingdom of Serbs, Croats, and Slovenes, which later became Yugoslavia, after the Austro-Hungarian Empire fell in 1918.
The city went through a difficult period following Croatia’s declaration of independence in 1991, which was referred to internationally as the Yugoslav Wars.
Serbia and Montenegro proclaimed that Dubrovnik had more verifiable binds with Montenegro than with Croatia, so it ought to be important for the previous, despite the fact that the inhabitants generally recognize themselves as Croats. Over a hundred civilians perished during the seven-month siege, which also severely damaged the Old Town.