Venice was the capital of the Republic of Venice until 1797 and with more than 180,000 inhabitants one of the largest European cities. Until the 16th century, it was one of the largest trading cities which traded between Western Europe and the eastern Mediterranean. Venice engineered most commercial and warships. Venice and its lagoon have been on the UNESCO World Heritage List since 1987. They especially inspired artists and Venice became one of the most visited tourist destinations.