CLEVELAND, Ohio -- A man accused of sexually assaulting two women and then working with attorneys to attempt to bribe them was sentenced to almost five years in prison today.

Cuyahoga County Common Pleas Judge Synenberg also found Thomas J. Castro, 35, to be a high-risk sex offender, meaning he will have to register his address with authorities for life.

Castro was previously convicted of sexual battery in 2004. He was indicted on again in 2011 and 2013 and pleaded no contest to sexual battery and gross sexual imposition. Castro's original guilty plea in one of the cases was tossed out in January by Judge John Russo after prosecutors accused a trio of lawyers of working to bribe the women.

In one case, they said between $10,000 and $90,000 was offered for one to write a letter to a judge asking that Castro be spared jail time. Another woman also was approached and offered money to change her testimony.

Castro and the attorneys, Marc Doumbas; his law partner G. Timothy Marshall; and Anthony O. Calabrese still face conspiracy and bribery charges.

Calabrese has already pleaded guilty and was sentenced to nine years in prison for unrelated federal bribery and racketeering charges and faces additional state charges that stem from the massive probe of county government led by the FBI.

Medina County Prosecutor Dean Holman handled the plea in the sex crimes cases because one of the victims and another person involved in the case had connections to the Cuyahoga County Prosecutor's office.