A 25-year-old man was on Tuesday morning gunned down by police in Karanja Road, Kibera, following a thwarted robbery attempt.
Confirming the incident, Kibra AP boss Enos Maloba, said the suspect was a member of a gang which was planning to rob residents in the area.
Maloba said the robbery attempt was foiled by police who were patrolling the area, killing the suspect on the spot after he attempted to challenge the officers.
Other members of the gang escaped with injuries.
A home made pistol was recovered from the suspect.
The body was taken to City Mortuary.