He had been receiving treatment for cancer and heart failure.