This wasn't a very bright idea.

Police say a Pennsylvania man attempted to sell drugs in a Pittsburgh traffic court.

The NY Daily News reports that 35-year-old Christopher Durkin approached and spoke to another man in court after he appeared Monday to face charges of driving under suspension.

Durkin was told to leave by a deputy.

Looks like the suspect wasn't just trying to start conversation. The other man informed officials that Durkin has actually attempted to sell him Suboxone pills.

Durkin and he was charged with possession of a controlled substance and possession with intent to deliver.

He currently is awaiting arraignment.

More From WPDH-WPDA