The French Revolution affected Cherubini’s life. He tried not to show that he had been friendly with aristocrats before the revolution. Hoping to get government jobs, he wrote several patriotic works in order to please the revolutionary leaders. Later he was made Napoléon's director of music in Vienna (1805-1806), and he conducted some of his music there.