HAGERSTOWN, Md. — A West Virginia man faces the possibility of life in prison without parole at his sentencing in Maryland for murdering his former girlfriend.

Forty-four-year-old Randy McPeak of Berkeley Springs, W.Va., is scheduled for sentencing in Hagerstown, Md., on Tuesday morning.

He pleaded guilty in November to first-degree murder for the fatal shooting last June of Heather Harris.

She died five days after the former utilities construction supervisor shot her in the head. McPeak held police at bay for seven hours as Harris lay mortally wounded inside her Hagerstown home.

McPeak also pleaded guilty to violating a peace order, stalking, false imprisonment and a handgun violation.

Prosecutors say he called Harris at least 15 times and sent her eight text messages on the day he killed her.

Read more: The Post’s crime coverage