A judge in Los Angeles has sentenced former NFL star Darren Sharper to 20 years in prison for raping two women and drugging two others, but under terms that would total about half that time in custody.

The sentencing Tuesday marks the end of prosecutions in four states for the former All-Pro safety who won a Super Bowl with the New Orleans Saints.

Sharper pleaded no contest in a deal negotiated with prosecutors in four states. But the deal was superseded by a judge in New Orleans who said it was too lenient and sentenced Sharper to 18 years.

Sharper was also convicted of rapes or sexual assaults in Nevada and Arizona.