 The opera is loosely based on the historical uprising of Masaniello against Spanish rule in Naples in 1647.The character of Fenella, the opera's eponymous heroine, was borrowed from Walter Scott's "Peveril of the Peak", which features a deaf and dumb dwarf of the same name.