The opera is based on the 1784 French play, ""La folle journée, ou le Mariage de Figaro" by Pierre Beaumarchais. The play was very controversial in its day (and even banned briefly in France), but the play's questionable material was removed and Da Ponte's libretto passed the Viennese censors. 