Looking for the name of a specific play that resulted in riots

Hi, I'm looking for a specific play.

It was first performed I think some time in the 1800s or early 1900s. The plot was either about a) a love story that ended sadly or b) I think something to do with people's rights? Or worker's rights? That were denied?

It's based on a true story that had a sad ending. Despite the events being based on a true story that the audience likely knew about, the first few times it was performed (and especially the first night) the audience was so upset about the ending that people threw stuff, insulted and threatened the actors, and (if I remember correctly) tried to set the theatre on fire the first night (it was put out almost immediately).

The play itself isn't famous, but it is notable for the strong reaction it caused in the audience.

I know this isn't a lot to go on, but does anyone have any ideas of what it could be?