A 61-year-old Indianapolis nursing home resident pleaded guilty to murder and rape Thursday in the death of an 80-year-old invalid last year.

Dwayne Freeman faces 45 years in prison as part of a plea agreement when he's sentenced June 22 for the crimes against Patricia Newnum.

Court documents say an employee at Homestead Healthcare Center entered Newnum’s room to give her medication on the morning of Feb. 2, 2022. She saw Freeman naked and lying on top of Newnum while holding a pillow over her face.

OKLAHOMA TEEN MADELINE BILLS’ EX-BOYFRIEND CHARGED WITH HER RAPE AND MURDER

Documents say Freeman admitted to having sex with Newnum, but said it was consensual. It wasn’t clear why Freeman was a resident of the nursing home.

Indiana Fox News graphic

An Indianapolis nursing home resident has pleaded guilty to the rape and murder of an 80-year-old invalid.

The Marion County Coroner’s Office ruled Newnum died of asphyxiation by smothering.

FORMER PHILADELPHIA HOMICIDE DETECTIVE ACCUSED OF RAPING MURDER VICTIM'S SISTER: OFFICIALS

Newnum's family has filed a wrongful death lawsuit against Homestead, which is owned by Adams County Memorial Hospital, a small hospital in northeast Indiana. The hospital contracts with Cincinnati-based CommuniCare to operate the facility.

The lawsuit claims the woman's death was the "inevitable result" of poor staffing and horrible conditions at the facility.

CLICK HERE TO GET THE FOX NEWS APP

A spokesperson for Homestead said it does not comment on pending litigation.