NEWPORT BEACH (AP) — Former USC and Los Angeles Raiders quarterback Todd Marinovich pleaded guilty to misdemeanor charges related to his arrest after he was seen trying to enter a stranger’s home naked.

The 47-year-old entered guilty pleas Tuesday to public nudity, drug and trespassing counts and was sentenced to 90 days in jail.

READ MORE: Three Injured In San Jose Stabbing; Suspect Remains At Large

The Orange County Register reports that the sentence could be stayed pending completion of six months in an outpatient rehab facility.

READ MORE: San Jose Becomes First City In Nation To Require Gun Liability Insurance

Authorities said a naked Marinovich tried to open the sliding glass door of an Irvine home last August. He allegedly left a bag containing meth, marijuana, drug gear, his wallet and driver’s license on a nearby hiking trail.

Marinovich has struggled with drug problems that drove him from the NFL and resulted in several arrests.

MORE NEWS: Curry And Warriors Rout Mavericks, 130-92

TM and © Copyright 2017 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2017 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.