A former pastor and his valedictorian daughter were discovered shot dead at their Maine home on Thursday in what authorities believe was a murder-suicide.

State police said it appears that Daniel Randall, 56, shot his 27-year-old daughter before fatally turning the gun on himself — just days after he was served divorce papers.

Claire Randall was found in the bathroom, while her father’s body was face-down on the porch with a shotgun, according to the Portland Press Herald.

Cryptic messages were also spray-painted inside the home in Hebron, Maine, where his estranged wife, Anita, daughter Molly and son Gabe lived.

“ANITA ITS ALL YOUR FAULT,” was scrawled in the dining room.

In another room, a message read “VOW BREAKER,” according to a neighbor, who Anita Randall called concerned to check on the house Thursday afternoon.

Before he entered the home, Caroll Daggett, 71, said he thought the blood splattering was part of a morbid Halloween decoration. It was not until he saw the eerie spray-painted messages that he feared the worst.

He notified police, unbeknownst to him that the couple’s daughter, Claire Randall, was dead inside. Daggett then called back Anita Randall.

“I told her, ‘Claire is not answering, and if you could come home, I suggest you come home,’ ” he told the Portland Press Herald.

Police arrived at the scene to find Claire Randall dead of multiple shotgun wounds. Her father, Daniel Randall, had been shot in the head. Autopsy results have not been released.

Earlier in the day, before the murders, Daniel Randall completed a 90-day substance abuse program for alcohol, authorities said. He checked himself out of the in Portland, Maine, center at 10 a.m. Thursday local time before buying a shotgun. Police say he then drove to the home where he broke in did not have a key.

He had served as a pastor at the First Congregational Church in Bristol, Rhode Island, until January 2015. He also was affiliated with Roger Williams University in Providence, Rhode Island from 2009 to 2012.

“He seemed to be a very pleasant person,” Daggett said. “A sort of take-charge family type person.”

Reached by phone, the couple’s daughter, Molly Randall, declined to comment on Friday.

“We don’t want to talk to anyone,” she said. “Please respect us in this. It’s very, very hard.”