Complex sentence: But he swears that he'd never kill her, when suddenly, the lights in the cell go out.
Split into simpler sentences: But he swears that he would never kill her. Then suddenly the lights in the cell go out.