NEW YORK (CBS 2) — A New York City detective  assigned to Mayor Bloomberg’s security detail was accused of shooting of an unarmed man.

Police said 46-year-old Leopold McLean was off duty when the incident happened two weeks ago in South Jamaica, Queens. He was with his girlfriend when her ex showed up, apparently violating a restraining order.

READ MORE: Ben Roethlisberger Announces Retirement After 18 Seasons With Steelers

After a confrontation,  McLean allegedly shot the man in the leg.

READ MORE: Child Hospitalized After Being Struck By Vehicle In Brooklyn

Attorney Gilbert Parris said his client did nothing wrong. “The incident itself takes place in a location where the individual shot would not have been, should not have been, and if he wasn’t there according to legal mandate, this incident would’ve never occurred.”

MORE NEWS: Remembering Officer Rivera: Wake Today For 22-Year-Old Killed In Line Of Duty In Harlem

McLean, who was released on bail, was charged with attempted murder. He’s been suspended from the force pending the outcome of the case.