By Sandra Rose  | 

Photo may have been deleted

State of New York

Nicki Minaj's husband, Kenneth Petty was sentenced to 3 years probation and one year home confinement for failing to register as a sex offender in California.

During a hearing in Los Angeles on Wednesday, Petty was sentenced to serve one year of home detention, followed by 3 years of probation.

BACKGRID

He was also ordered to pay a $55,000 fine, CBS Los Angeles and MyNewsLA.com report.

His sentencing hearing was postponed multiple times due to the pandemic.

Federal prosecutors wanted Petty to serve jail time -- not home confinement in his luxurious Calabasas mansion with his wife.

Petty served four years in jail in 1995 after he plead guilty to the attempted rape of a 16-year-old girl.

BACKGRID

Petty is a level 2 registered offender in New York, meaning he's considered a "moderate risk of repeat offense."

The feds noted that Petty lives in a "gated affluent community" which includes a pool, Nicki's music studio, and their beautifully landscaped backyard -- amenities not available to other criminals in jail.

In the documents obtained by TMZ, prosecutors said Petty complied with his sex offender registry paperwork for nearly 20 years - until he met Nicki in 2019 and moved with her to Cali. There, he stopped registering as a sex offender.

Best Image / BACKGRID

As prosecutors described it, "Defendant began dating his wife, quit his job, moved to Los Angeles, and adopted an affluent lifestyle."

Petty told the court he didn't know he was supposed to register once he left NY state, but prosecutors said he was well aware of the rules after 2 decades.

His victim, Jennifer Hough, filed a lawsuit against him and Minaj, 39, accusing the pair of attempting to intimidate her into recanting her rape accusation.

A judge dismissed the lawsuit against Nicki, but it is still pending against Petty.