A Gloucester County man admitted to being in possession of a gun when he stripped naked in Atlantic City last year.
Forrest Graves, 37, of Glassboro, faces five years in prison with 3½ years of parole ineligibility after pleading guilty Friday.
Police were called to the Best of Life Park apartments at 129 S. Virginia Ave. for a man refusing to leave the property and taking off his clothes.
Graves was found lying on the ground naked, and did not respond to officers.
An ambulance was called and police found a black Ruger LCP .380 handgun with hollow-point ammunition in the pocket of his black shorts.
Graves was arrested and taken to the hospital before being processed.
He remains in the Atlantic County Justice Facility until his sentencing, set for Jan. 16.