The librettists, Viktor Léon and Leo Stein, based the story – concerning a rich widow, and her countrymen's attempt to keep her money in the principality by finding her the right husband – on an 1861 comedy play, ("The Embassy Attaché") by Henri Meilhac.