The man who shot and killed his 27-year-old daughter in Hebron Thursday and then took his own life had left a Portland substance abuse center that morning and was estranged from his family, police said Friday.

The State Medical Examiner’s Office said Claire Randall died from multiple shotgun wounds, according to a press release from Stephen McCausland, spokesman for the Maine Department of Public Safety.

She was shot and killed in the bathroom of her family's home on Marshall Pond Road by her father, Daniel Randall, 56, who died of a single shotgun wound to the head, the release said.

He completed a 90-day program at the Liberty Bay Recovery Center on Forest Ave. in Portland on Tuesday. State police said he left the center Thursday at 10:00 a.m., bought a shotgun and then killed his daughter just before 2 p.m. Police are now working to learn where he purchased the weapon.

McCausland said Daniel Randall was estranged from his family and apparently did not have a key to the home, because he broke into the house through a garage door. He also had been served with divorce papers during the week.

Police said he sprayed painted messages to his family on the walls of five rooms inside the home before he shot himself.

Daniel Randall had been a pastor at a Bristol, Rhode Island church prior to moving to Maine earlier this year. He also once served as a chaplain in the Air Force.

Claire Randall had recently moved from Rhode Island to stay with her mother, Anita, and her teenage brother, both of whom were not home at the time of the shootings.