They raped a 15-year-old after a party in Greene County. Now all three will get prison.

The third person convicted in a 2012 rape in Greene County will spend at least 18 years in prison.

Matthew Blake Courtney, 19, of Neely was sentenced Wednesday by Circuit Court Judge Kathy Jackson after he was found guilty of one count of sexual battery in a two-day trial.

The victim was raped by Courtney, Harley Reigh Prentiss, 20, of Greene County, and Daniel Dustin McLeod, 24, of Leakesville. Prentiss pleaded guilty in May to sexual assault and was sentenced to 15 years. McLeod pleaded guilty to statutory rape in 2015 and was sentenced to at least 8 years in prison. He was convicted earlier of giving beer or wine to the 15-year-old victim.

Prentiss and Courtney were juveniles at the time, and were charged as adults.

“This is the third and final defendant to be held accountable for the acts committed against the victim,” said District Attorney Tony Lawrence. “I am glad this case has been resolved for the victim so she can finally put this nightmare behind her and move forward with her life.”

According to the Greene County Herald, the three raped the girl who was so intoxicated she could not have consented to having sex. All three will serve several years of post-release supervision. Prentiss and Courtney will have to register as sex offenders.

The paper said the girl was raped Nov. 3, 2012, after a party attended by juveniles and adults. After the sexual assault, the girl, injured and semi-conscious, and a male companion were dropped off at Magnolia Cemetery in Leakesville.