19th century thumb|Palazzo Carciotti in Trieste, In the following decades, Trieste was briefly occupied by troops of the French Empire during the Napoleonic Wars on several occasions, in 1797, 1805 and 1809. From 1809 to 1813, Trieste was annexed into the Illyrian Provinces, interrupting its status of free port and losing its autonomy. The municipal autonomy was not restored after the return of the city to the Austrian Empire in 1813. Following the Napoleonic Wars, Trieste continued to prosper as the Free Imperial City of Trieste (), a status that granted economic freedom, but limited its political self-government. The city's role as Austria's main trading port and shipbuilding centre was later emphasised by the foundation of the merchant shipping line Austrian Lloyd in 1836, whose headquarters stood at the corner of the Piazza Grande and Sanità (today's Piazza Unità d'Italia). By 1913, Austrian Lloyd had a fleet of 62 ships totalling 236,000 tonnes.Hubmann, Franz, & Wheatcroft, Andrew (editor), The Habsburg Empire, 1840–1916, London, 1972, With the introduction of constitutionalism in the Austrian Empire in 1860, the municipal autonomy of the city was restored, with Trieste becoming capital of the Austrian Littoral crown land (). thumb|right|The Stock Exchange Square in 1854 thumb|Stock market in Trieste today With anti-clericalism on the rise in the rest of the Italian peninsula due to the Kingdom of Piedmont-Sardina's bellicose policies towards the church and its estates, Pope Leo XIII at times considered moving his residence to Trieste or Salzburg. However, Emperor Franz Joseph rejected the idea.Josef Schmidlin, Papstgeschichte der neueren Zeit, München, 1934, p.414 Trieste, along with Rijeka (Fiume), served as an important base for the Imperial-Royal Navy, which in the first decade of the 20th century embarked on a major modernisation programme. With the construction of the Austrian Southern Railway, the first major railway in the Empire, in 1857, Trieste acquired a significant role in the trade of coal. thumb|right|A view of Trieste in 1885 Trieste had long been home to Italian irredentist sentiment, as evidenced by the activity at . In 1882 this fervour culminated in an attempted assassination of Emperor Franz Joseph at the hands of Wilhem Oberdank (Guglielmo Oberdan), while His Majesty was visiting the city. The perpetrator was arrested, tried, found guilty and ultimately sentenced to death. His legacy was regarded as worthy of martyrdom status by fellow irredentists, while monarchical elements regarded his actions as ignominious. The Emperor, who went on to reign for thirty-four more years, never again visited Trieste.
19th century thumb|palazzo carciotti in trieste in the following decades trieste was briefly occupied by troops of the french empire during the napoleonic wars on several occasions in 1797 1805 and 1809 from 1809 to 1813 trieste was annexed into the illyrian provinces interrupting its status of free port and losing its autonomy the municipal autonomy was not restored after the return of the city to the austrian empire in 1813 following the napoleonic wars trieste continued to prosper as the free imperial city of trieste () a status that granted economic freedom but limited its political self-government the city's role as austria's main trading port and shipbuilding centre was later emphasised by the foundation of the merchant shipping line austrian lloyd in 1836 whose headquarters stood at the corner of the piazza grande and sanità (today's piazza unità d'italia) by 1913 austrian lloyd had a fleet of 62 ships totalling 236000 tonneshubmann franz & wheatcroft andrew (editor) the habsburg empire 1840–1916 london 1972 with the introduction of constitutionalism in the austrian empire in 1860 the municipal autonomy of the city was restored with trieste becoming capital of the austrian littoral crown land () thumb|right|the stock exchange square in 1854 thumb|stock market in trieste today with anti-clericalism on the rise in the rest of the italian peninsula due to the kingdom of piedmont-sardina's bellicose policies towards the church and its estates pope leo xiii at times considered moving his residence to trieste or salzburg however emperor franz joseph rejected the ideajosef schmidlin papstgeschichte der neueren zeit münchen 1934 p414 trieste along with rijeka (fiume) served as an important base for the imperial-royal navy which in the first decade of the 20th century embarked on a major modernisation programme with the construction of the austrian southern railway the first major railway in the empire in 1857 trieste acquired a significant role in the trade of coal thumb|right|a view of trieste in 1885 trieste had long been home to italian irredentist sentiment as evidenced by the activity at  in 1882 this fervour culminated in an attempted assassination of emperor franz joseph at the hands of wilhem oberdank (guglielmo oberdan) while his majesty was visiting the city the perpetrator was arrested tried found guilty and ultimately sentenced to death his legacy was regarded as worthy of martyrdom status by fellow irredentists while monarchical elements regarded his actions as ignominious the emperor who went on to reign for thirty-four more years never again visited trieste