If she was found guilty, the punishment was the death penalty, however she denied the charge in vain.
The punishment was the death penalty. This was however. This was what she denied the charge in vain. She was found guilty.