Kenneth "Zoo" Petty, the husband of Nicki Minaj, has been granted permission to use the internet as he awaits his trial for failing to register as a sex offender when he moved to Los Angeles.

Petty who pleaded not guilty to failing to register as a sex offender when he moved to Los Angeles, will still have his travel restricted to Southern California as he waits for his next court date in April per Daily Mail.

Petty's trouble with the law began in 1995 when he was convicted of attempted first-degree rape and served four years in prison in New York for the assault. He then returned to jail in 2006 on a manslaughter charge where he served nearly seven years. Several years later he reunited with Nicki Minaj who is reportedly a childhood friend. The two fell in love and tied the knot in October, and moved to Los Angeles. But Petty, according to the authorities, failed to register as a sex offender in his new home state -- which is a federal crime.

Under federal law, also known as Megan's Law, convicted sex offenders including Petty must register as such, regardless of where they move to and irrespective of when the crime occurred.