Its source was L'heureuse erreur by Joseph Patrat
, which had been successful in France.
Manvell, Roger. Elizabeth Inchbald: England’s Principal Woman Dramatist and Independent Woman of Letters in 18th Century London. University Press of America, 1987.