This man resigned from a 
This man resigned from a post in Weimar after conducting the premiere of The Barber of Bagdad, which was a disaster. This man also conducted the premiere of the opera Lohengrin by Richard Wagner, who would later marry Cosima, his daughter. The movements "Gretchen" and "Mephistopheles" are found in a symphony by this man, who is credited with inventing the symphonic poem. This man was also arguably the greatest piano virtuoso of the nineteenth century. For 10 points, name this composer of Les Preludes and the Hungarian Rhapsodies.
This man resigned from a post in Weimar after conducting the premiere of The Barber of Bagdad, which was a disaster.
Franz Liszt