He had been diagnosed with terminal cancer.