Krása and Hoffmeister wrote the opera in 1938 for a government competition, but the competition was later cancelled due to political developments. Rehearsals started in 1941 at the Jewish orphanage in Prague, which served a temporary educational facility for children separated from their parents by the war. In the winter of 1942 the opera was first performed at the orphanage: by this time, composer Krása and set designer František Zelenka had already been transported to Theresienstadt. By July 1943, nearly all of the children of the original chorus and the orphanage staff had also been transported to Theresienstadt. Only the librettist Hoffmeister was able to escape Prague in time.