The charges against Nicki Minaj‘s husband Kenneth Petty for failing to register as a sex offender in California have been dropped by the Los Angeles District Attorney’s office, but only because there is now a federal case against him for similar charges. According to The Blast, a hearing was held in L.A. court on Friday, where prosecutors told the judge that they were dropping the local charges against him.

Nicki Minaj's Sex Offender Husband's Charges Dropped By D.A.Jamie McCarthy/Getty Images for Marc Jacobs

Kenneth was charged in Beverly Hills back in November after he was pulled over by police and they discovered that he had never registered as a sex offender upon moving to California. Since it is against the law to move states or change addresses without reporting the move to the sex offender registry within an allotted amount of time, he was arrested by the Los Angeles District Attorney and ultimately released on a $20,000 bond.

Nicki Minaj's Sex Offender Husband's Charges Dropped By D.A.Gotham/GC Images/Getty Images

While these charges have now been dropped, it’s only because there’s a more pressing case against him. Kenneth was indicted by the Federal Government this week, after still failing to register in California. He turned himself in and was arrested on a $100,000 bond. Now that there’s a federal case against Kenneth, the D.A.’s office decided to drop the charges against him. “The case was dismissed today because he is facing a similar charge in federal court,” a rep for the D.A’s office explained. Kenneth is facing up to 10 years behind bars if convicted on a federal level, but, according to The Blast, his lawyers may be under the belief that he could knock some time off if he manages to convince the judge in federal court that he didn’t explicitly intend to avoid registering after moving to Los Angeles. Upon his recent arrest, he was forced to hand over his passport and will be required to wear an ankle monitor upon his release.

Kenneth is required to register as a sex offender in the first place due to his conviction in 1995 for first-degree attempted rape. He served almost four years in New York federal prison for the crime. Nicki has been ridiculed for her association with him ever since she went public with their relationship, and she’s been on the receiving end of even more criticism since the news broke of his indictment.