A ballet was obligatory in Act II of operas produced at the Paris Opera House in the 19th century, so that wealthy members of the Jockey Club could eat a leisurely dinner then arrive in time to see their mistresses dance. Wagner's Tännhauser was a flop in because he didn't write in a dance.