Ruth Ellis was the last woman to be hanged here in the United Kingdom. She shot her lover who had been physically abusive towards her. (During the trial Ellis mentioned how he had punched her in the stomach which may well have contributed to the loss of the baby she was carrying).
Today Eliss would, no doubt have received a prison sentence. This would, however have (in all probability) been light in nature due to the extreme physical abuse she suffered at the hands of her lover. The Ellis case is one of the reasons why I am, on balance opposed to the death penalty, https://www.theguardian.com/uk-news/2018/mar/12/ruth-ellis-files-bbc-documentary-murder-case-cant-let-go