BANGOR, Maine — A local man arrested Monday on an outstanding warrant was charged with felony trafficking in prison contraband after police found bath salts and the prescription drug Suboxone on him while processing him into jail, Bangor police Sgt. Paul Edwards said Tuesday.

Alan Smith, 30, of Bangor was questioned about 9 p.m. on Center Street by Officer Richard Polk, who was responding to a business alarm and saw him standing nearby. At first Smith told Polk his first name was Joseph, apparently because he was wanted on the outstanding warrant, but a quick computer check determined he lied to police, Edwards said.

Smith was arrested on the warrant and then searched.

“He was asked several times if he had any drugs on him and he said, ‘No, no, no,’” Edwards said of Smith.

However, once at Penobscot County Jail, Polk found “Smith was in possession of Suboxone and a white powdery substance that he had probable cause to believe was bath salts,” the sergeant said.

Suboxone is used to treat opioid dependence.

Smith was charged with felony trafficking in prison contraband, possession of a scheduled drug for the Suboxone and possession of a hallucinogenic drug for the bath salts.

He remained in jail on Tuesday, a jail official said.

Smith has several convictions on his record, some for drug possession, according to prior court listings printed in the Bangor Daily News.

He was convicted of unlawful possession of hydrocodone, three counts of unlawful possession of a scheduled drug, violating a condition of release and endangering the welfare of child in Penobscot County Superior Court in September 2007. He was sentenced to one year in jail with all but 45 days suspended and two years of probation for the unlawful possession of hydrocodone and one count of unlawful possession of a scheduled drug. Smith was sentenced to 45 days in jail for each of the other convictions.

Smith also was convicted in February of falsifying physical evidence and sentenced to pay a $500 fine.

If convicted of felony trafficking in prison contraband, Smith faces up to five years in prison and a fine of up to $5,000.