STATEN ISLAND, N.Y. - Well, it beats keeping them in your pocket.

A parolee had one bummer of a day, after police stunned him with a Taser and found seven plastic zipper bags of crack cocaine in his rectum, authorities allege.

On Friday afternoon, narcotics officers watched as Shawn Allen, 24, sell a bag of crack to Stephanie Ramos, 30, on the corner of Harrison Avenue and Faber Street in Port Richmond, court papers allege.

The officers moved in to arrest the duo, and Ms. Ramos threw the drugs on the ground, announcing, "I bought it off him and it's up his [butt]," a law enforcement source said.

The cops then took Allen to the 121st Precinct stationhouse in Graniteville, and recovered a glassine envelope of heroin from him, but when they tried to strip-search him, he lashed out, flailing his arms and kicking his feet, police allege.

Police used a Taser to subdue him, and took him to Staten Island University Hospital, where the additional drugs were allegedly discovered.

Allen was conditionally released to parole last June, after he was sentenced to two-and-a-half to three years in prison for attempted felony drug possession and attempted assault in 2012.

He now faces charges of third-degree criminal sale of a controlled substance, fifth- and seventh-degree criminal possession of a controlled substance, and resisting arrest, according to information from District Attorney Daniel Donovan's office. He remains jailed on Rikers Island on $1,000 bail until his next appearance in Stapleton Criminal Court on Thursday.

Ms. Ramos, who faces a charge of seventh-degree criminal possession of a controlled substance, was released on her own recognizance Saturday. She must also return to court Thursday.