Passage: Beethoven was in his mid-thirties during this time; his personal life was troubled by increasing deafness. In the world at large, the period was marked by the Napoleonic Wars, political turmoil in Austria, and the occupation of Vienna by Napoleon's troops in 1805. The symphony was written at his lodgings at the Pasqualati House in Vienna. The final movement quotes from a revolutionary song by Claude Joseph Rouget de Lisle.

Question: When did Napoleon occupy Vienna?
1805