The Independent Police Investigative Directorate is probing the death of a 40-year-old member of the anti-gang unit in the Western Cape.
Sergeant David Hoffman was shot dead in Franschhoek on Saturday night.
Police spokesperson Novela Potelwa says it is alleged that the deceased was at Skool Street when a group of community members descended on the property he was in.
She says police were called including a 41-year-old colleague of the deceased.
The group left and after they left Hoffman was shot. Potelwa says at the time of the shooting Hoffman was with his colleague who has since being detained.
SAPS management has expressed condolences to the Hoffman family.