A man who sold drugs to an undercover operative got into more trouble after police searched his home, officials said.

Tracy E. Porter was arrested after he delivered marijuana and cocaine to an undercover operative in the 1900 block of Stefko Boulevard in Bethlehem at about 6:50 p.m. Tuesday, officials said. Porter was found to have additional cocaine, a cell phone and cash on him, they added.

Police also found cocaine, a digital scale and cash when they searched Porter's bedroom in his home at 818 Broadway, officials said.

Porter gave police a written statement admitting he sold the drugs and that the items found in his home were his, officials said.

The amounts of marijuana, cocaine and cash were not listed in court papers.

Porter, 27, was arraigned on charges of possessing drugs with the intent to deliver and possessing drug paraphernalia and committed to the Northampton County Prison on $50,000 bail, according to court documents.

A preliminary hearing is set for 10:30 a.m. Nov. 1.