Two men jumped in to help when a man tried to steal a woman’s laptop computer at a Manchester shop Tuesday morning, police said.

Click to watch News 9’s coverage.

Manchester police said the woman was working on her laptop at Dancing Lion Chocolate when she went to the counter. They said a man grabbed her computer and tried to leave, but she screamed, and two men stepped in to help.

Richard Hardy, 32, was charged with theft and other charges.

“Apparently, Mr. Hardy was involved with the theft of a laptop,” Officer Carrissa Pelletier said. “A witness intervened, and he threatened that witness.”

Police said one of the men managed to wrestle the laptop away from Hardy.

“Another Good Samaritan heard the commotion,” Lt. Brian O’Keefe said. “He stopped the individual, and as he approached him, he threatened him with a hypodermic needle, so he backed off, at which time a police cruiser was driving by, and he flagged him down.”

Hardy was arrested a short time later.

“He was found in possession of several pills, so we are concerned about the allegations and concerned about his history, which dates back to 2004,” Pelletier said.

That history includes convictions in Massachusetts and Connecticut, along with recent convictions in New Hampshire for possession of a controlled drug. Police said that in addition to the pills, Hardy had two hypodermic needles on him.

Hardy is also facing charges of criminal threatening, possession of a controlled drug and resisting arrest.

Bail was set at $5,000 cash or surety. Hardy is scheduled to return to court on Sept. 17 for a probable cause hearing.