He had been in the hospital for months.