University police arrested a convicted felon early yesterday morning after police officers found heroin and a stolen gun in his possession, University Police Lt. Michael Patten said.

Eric Trayman, a 27-year-old New Haven resident, was apprehended by University Police Sgt. Jeannine Hemenway and officers Jennifer Crisco and Michael Claxton in front of the Walgreen’s on York Street. A stolen 9mm handgun, a bat, a tire-thumper and heroin were found in his vehicle, Patten said.

A spokesperson for the Bail Commissioner’s office said Trayman’s bond was set at $150,000.

Trayman was charged with possession of heroin with intent to sell and leaving a motor vehicle without setting the breaks. He also faces several weapons charges, including theft of a firearm and possession of a pistol without a permit, Patten said.

Patten said police found the heroine divided into small bags, indicating an intent to sell the drugs. Trayman had been formerly convicted on charges of drug possession with intent to sell.

Police became suspicious when they spotted the tire-thumper, which is classified as a dangerous weapon unless owned by a truck driver. In response, police searched Trayman’s car, turning up the stolen pistol and the heroin, Patten said.