David Joseph Murray 

A Mandeville man who pleaded guilty to two counts of forcible rape of a juvenile and one count of molestation on Tuesday was sentenced to 40 years in prison.

David Joseph Murray, 50, pleaded guilty to raping a girl, beginning when she was 11, according to Lisa Page, spokeswoman for 22nd Judicial District Attorney Warren Montgomery.

When the girl  became pregnant at 13, her mother discovered Facebook and text messages between the girl and Murray in which he referred to the unborn child as his, Page said.

The mother contacted police after her daughter disclosed the sexual activity.

Investigators also found inappropriate sexual messages between Murray and the victim on a computer in Jefferson Parish, where he was living at the time, Page said.

During the investigation, a second victim was discovered who said that Murray began touching her sexually and forcing her to touch him when she was 7 or 8 years old, and that he performed oral sex on her.

The two victims and their family members, who agreed to the plea, were in court and gave victim impact statements, Page said.

Judge Reginald Badeaux sentenced Murray to 40 years each on the two rape counts. He was also sentenced to 20 years on one count of molestation of a juvenile. The sentences will be served concurrently.

Assistant District Attorneys Blair Alford and Luke Lancaster prosecuted the case. Detective Carli Messina of the St. Tammany Parish Sheriff's Office investigated.

Murray's attorney declined comment.

Follow Sara Pagones on Twitter, @spagonesadvocat.