Joseph Haydn served as Kapellmeister (Music Director) for the Esterházy family from 1766 until his death in 1809. Though the Esterházy seat was primarily at Eisenstadt and Esterháza (Hungary), the family's Vienna palace also fell under his musical purview. He oversaw all court music: composition, performances, hiring musicians, and managing the orchestra and opera troupe.