ROSEVILLE (CBS13) – A man accused of threatening police officers was arrested right outside a market in Roseville – and it was all caught on tape.

Surveillance video shows Roseville police officers catching up to Tyler Hart walking around the neighborhood with his dog. He was put into handcuffs and taken away.

READ MORE: Controversial New Report Says No Amount Of Alcohol Is Good For The Heart

Mike Singh was at work when it all went down.

“He was trying to buy beers and he had no money, so he left,” Singh said.

But the trouble started in Rocklin for the 26-year-old Hart. Investigators say Hart made threatening phone calls to the police department.

“He was threatening to injure officers, to shoot police officers, shoot the police department,” said Sgt. Gil Farrulla from Rocklin Police.

“I would say it’s unusual for somebody to call into the dispatch center and threaten us directly.”

–Sgt. Gil Farrulla from the Rocklin Police Department

Sgt. Farrulla says Hart called dispatch twice Saturday night.

“At one point, he made a comment he had a loaded firearm and he was on his way down to the department to shoot people,” Sgt. Farrulla said.

Officers say Hart also called Roseville dispatch, but his threats were still directed at Rocklin police. Sgt. Farrulla says Hart used to live in Rocklin and recently moved to Roseville.

READ MORE: Study: States With Weaker Gun Laws Have Higher Rates Of Firearm Related Homicides, Suicides

The two departments worked together in catching Hart. Officers say they narrowed in on the area through his phone calls and found him.

Those who live around the Roseville neighborhood where Hart was arrested say they’ve never seen that type of police activity before.

“So they just kept driving by, slower than usual,” said resident Nikki Perez. “You [could] tell they were looking for someone.”

Hart wasn’t armed when he was arrested. Investigators say they are looking into his past and are trying to piece together why a young man would threaten law enforcement.

“It’s difficult for us, but we still have a job to do,” Sgt. Farrulla said.

Sgt. Farrulla noted that it’s out of the ordinary to be threatened directly by someone who called dispatchers.

“I would say it’s unusual for somebody to call into the dispatch center and threaten us directly,” Sgt. Farrulla said.

He was booked into jail on charges of making criminal threats and resisting arrest through use of threats. His bail was set at $100,000.

MORE NEWS: Oregon Man Arrested By Authorities After Chase Starting In Placer County

He is no longer in jail.