D'Oyly Carte Opera Company be released from the partnership on several occasions. Nevertheless, they coaxed eight comic operas out of Gilbert and Sullivan in the 1880s. When "Princess Ida" closed after a comparatively short run of nine months, for the first time in the partnership's history, the next opera was not ready. To make matters worse, Gilbert suggested a plot in which people fell in love against their wills after taking a magic lozenge – a scenario that Sullivan had previously rejected, and he now rejected the "lozenge plot" again. Gilbert eventually came up with a new idea and began work in May 1884.
Gilbert and Sullivan change the characters, which Sullivan found artificial and lacking in "human interest and probability", as well as being too similar to their earlier opera, "The Sorcerer". As dramatised in the film "Topsy-Turvy", the author and composer were at an impasse until 8 May 1884, when Gilbert dropped the lozenge idea and agreed to provide a libretto without any supernatural elements. The story focuses on a "cheap tailor," Ko-Ko, who is promoted to the position of Lord High Executioner of the town of Titipu. Ko-Ko loves his ward, Yum-Yum, but she loves a musician, who is really the son of the