Manhattan Melodrama
(1934)

Blackie Gallagher is sentenced to death by electric chair, and Jim tries to commute his sentence but Blackie tells him not to.

After Blackie's death, Eleanor forgives Jim and they get back together.

Thanks Erin G!