She is hanged. The trial and jail cell and hanging scenes are sadder than any I'd seen before. And they are made incredibly sadder, odd as it may seem, when everyone breaks into an incongruous fit of choreographed singing and dancing. Supposedly the ancient Greeks enjoyed this sort of thing. But enjoyment is not the word for it.
Masochism is closer.
The tragedy here rests on the justice system's ignorance, prejudice, and lack of insight. It killed a woman who was falsely convicted. She did not do what the court thought she did. She could not freely explain this and be believed. She and everyone else involved were destroyed by a system fundamentally flawed.