MARTINEZ (CBS SF) — The sixth and final defendant in a 2009 gang rape of a teenage girl at Richmond High School that shocked the community and drew national attention pleaded guilty to statutory rape in a Martinez courtroom Friday.

John Crane Jr., 47, entered the plea Friday in exchange for a three-year prison sentence, which he has already served, according to Contra Costa County Deputy District Attorney Alison Chandler. He was originally charged with forcible rape in concert but reached a plea deal with the district attorney’s office.

READ MORE: Storm Fronts March Through Bay Area; Massive Tree Topples In San Francisco Neighborhood

He was also ordered to register as a sex offender for the rest of his life and stay away from the victim for the next 10 years, and must pay more than $15,000 in restitution.

The Richmond man’s sentencing comes more than four years after the October 2009 beating and gang rape of a 16-year-old girl, referred to in court as Jane Doe, in a dark courtyard on the Richmond High campus during a homecoming dance.

“John Crane is the only remaining defendant in a lengthy prosecution against the defendants who callously violated Jane Doe,” Chandler said. “This plea allows Jane Doe to move on with her life.”

READ MORE: Outrage Grows Over Racist Comments Targeting KPIX 5 Reporter Betty Yu

DNA evidence found at the scene of the gang rape matched the defendant, along with several other defendants who have already been sentenced for their roles in the crime.

Jose Montano of Richmond and Marcelles Peter of Pinole were sentenced last year to 33 and 29 years to life in prison after being convicted on charges of rape in concert, sexual penetration in concert and oral copulation in concert causing great bodily injury.

Ari Morales of San Pablo and Richmond resident Manuel Ortega are serving 27-year and 32-year sentences for their roles in the rape and Elvis Torrentes received a six-year sentence.

Prosecutors say the investigation into the rape is ongoing and that the district attorney’s office will continue to try to match unidentified DNA profiles found at the scene of the crime.

MORE NEWS: Suspect Arrested On DUI Charges In Fatal Fairfield Hit-And-Run