BOYNTON BEACH, Fla. -

A Delray Beach man is accused of trying to lure whom he thought was an underage boy for sex.

Boynton Beach Police said James Bradley, 46, started an internet chat on Tuesday afternoon with whom he thought was a 16-year old boy.

That boy was actually a Boynton Beach Police undercover detective.

During their chats, police said Bradley talked about sex and drugs and agreed to meet up with the boy later Tuesday afternoon.

Police said Bradley arrived at the meeting place with a marijuana joint in his hand.

He was arrested and charged with computer pornography and child exploitation, traveling to meet a minor to commit an unlawful sex act and possession of marijuana.

After he was arrested, Bradley was asked if he'd had sex with a child before.

Police said Bradley stated, "I don't know."

He is being held at Palm Beach County Jail.