A Kenyan judge on Wednesday sentenced two police officers to death for killing a colleague and two civilians in 2014.
The decision is a fresh sign that authorities are getting tough on police brutality after years in which civilians and human rights groups accused the police of excessive force.
But officers were rarely charged and almost never convicted.
The government of President Uhuru Kenyatta has said it will fight impunity at a time when it has also arrested some senior public officials on charges of corruption.
The Independent Police Oversight Authority said in a statement its investigation found that officers Benjamin Changawa and Stanley Okoti killed their colleague.
They killed Joseph Obongo, their colleague , and two of his relatives, saying they were robbery suspects. Obongo was a bodyguard to a lawmaker.
It said the Director of Public Prosecutions took up the case once the watchdog recommended they be charged with murder.
They were convicted this month, the third such verdict arising from an IPOA investigation.
“The accused faced no danger to use excessive force to kill the victims and should have performed their duty in most responsible manner,” Judge Stella Mutuku said in her ruling.
The police watchdog was formed in 2011 after police were blamed for the deaths of dozens of protesters in the violent aftermath of the disputed 2007 presidential election.
In 2016, two officers were jailed for seven years after a 14-year-old girl was shot dead during a raid on a house in the coastal district of Kwale County in 2014.
In April, another policeman was sentenced to 15 years after he was found guilty of killing a man in 2013 he suspected of stealing a mobile phone.
Treason, murder and robbery with violence can carry the death sentence in Kenya.
However, the last execution was in 1987. In 2016, Kenyatta commuted all death sentences to life jail terms, removing nearly 2,800 convicts from death row.