The sheriff's office said the inmate was transferred to Maine Medical Center in Portland on Feb. 25 and died on Saturday, March 8.