Original: He was sentenced to death by hanging, but committed suicide by cyanide ingestion the night before he was due to be hanged.
Simplified: One day before he was to be hanged, he committed suicide by taking a tablet of cyanide.