D'Oyly Carte Opera Company create new operas for the company upon six months' notice. Sullivan had not intended immediately to write a new work with Gilbert, but he suffered a serious financial loss when his broker went bankrupt in November 1882 and must have felt the long-term contract necessary for his security. But he soon felt trapped. Gilbert scholar Andrew Crowther comments, regarding the agreement: "Effectively, it made [Gilbert and Sullivan] Carte's employees – a situation which created its own resentments." The partnership's next opera, "Princess Ida", opened in January 1884. Carte soon saw that "Ida" was running weakly at the box office and
Gilbert and Sullivan began to play parlour music at home and more theatres and concert halls opened. In 1874, Gilbert wrote a short libretto on commission from producer-conductor Carl Rosa, whose wife would have played the leading role, but her death in childbirth cancelled the project. Not long afterwards, Richard D'Oyly Carte was managing the Royalty Theatre and needed a short opera to be played as an afterpiece to Offenbach's "La Périchole". Carte knew about Gilbert's libretto for Rosa and suggested that Sullivan write a score for it. Gilbert read the piece to Sullivan in February 1875, and the composer was delighted with