Police said they caught Lewis Bagnato on a surveillance camera giving an inmate a batch of K, a type of synthetic marijuana.By Andy Sheehan

PITTSBURGH (KDKA) — A correctional officer is accused of bringing drugs into the Allegheny County Jail and recruiting an inmate to sell them to others.

Lewis Bagnato is looking at a potential jail stint himself, charged with several counts of possession with intent to deliver.

READ MORE: Pa. Supreme Court Rules 'Comfort Dogs' May Be Allowed To Help Witnesses Testify At Trial

(Photo Credit: KDKA)

“The officers are there for the care, custody and control of the inmates. They’re not there for personal profit. They’re not there to bring contraband into the institution. They’re there to prevent contraband from coming into the institution,” said Allegheny County Police Superintendent Christopher Kearns.

Police said they caught Bagnato on a surveillance camera giving an inmate a batch of K2, a type of synthetic marijuana. Further investigation revealed the inmate sold the drugs to others, who used the mobile device Cashapp to transfer $2,300 to the inmate’s girlfriend on the outside.

According to police, who retrieved court-ordered text messages, Bagnato went by the code name “Uncle Kirk” and told the girlfriend to meet him at a McKees Rocks parking lot and pay him the proceeds in cash.

READ MORE: Crews Conducting Rescue Along Monongahela River Near 10th Street Bridge

Under the arrangement, police say, Bagnato would keep all of that money but split future sales 50-50. Those sales didn’t happen. County police arrested Bagnato on Thursday while on duty, handcuffing him in front of the inmates on his pod and taking him downstairs for processing.

KDKA’s Andy Sheehan: Kind of made an example of him?

Kearns: Wasn’t so much making an example of him. He was under arrest. Same as the inmates in the pod. If he is engaged in this activity, that’s where he’s going to end up.

MORE NEWS: Wolf Administration Warns 99% Of All Wildfires Caused By People As Wildfire Season Begins In Pennsylvania

After his arraignment, a judge released Bagnato on his own recognizance. He faces a preliminary hearing on July 21.