A Pittsburgh police commander previously placed on leave while officials investigated allegations he spied on colleagues has retired.

Matthew Lackner, who had previously overseen the police bureau’s Zone 2 station in the Hill District, retired Tuesday, according to spokeswoman Cara Cruz.

Mr. Lackner was placed on paid administrative leave earlier this month. A police source familiar with the incident said the commander was accused of putting a body-worn camera in an officer’s patrol vehicle to spy on the officer.

Ms. Cruz declined to comment on the allegations against Mr. Lackner, saying only that he’d been placed on leave and has now retired.

Allegheny County Police are investigating the incident. Pennsylvania’s wiretap laws dictate that all parties involved in a recording must consent to being recorded.