Composers were always expected to write large pieces such as symphonies and operas if they were to be taken seriously. Wagner was given the words for an opera called "Der Corregidor". At first he did not want to use it because the libretto was not good, but then he decided to write the opera. However, although it was performed it never became a success.