The estranged man slashed his 17-year-old daughter to death. [iStockphoto]

A man killed his daughter and attacked his wife before committing suicide in Nyandarua.

In a separate incident, a teenager who reportedly strangled a girl in Naivasha has been arrested.

According to Njabini OCPD Peter Nzimbi, the estranged man slashed his 17-year-old daughter to death using a machete at Munyaka trading centre in Kinangop, Nyandarua.

Mr Nzimbi said the daughter was attacked while returning to their rented house after escorting her two siblings to school.

The man later rushed to his nearby home in Nyakio village where he used a rope to hang himself.

"The couple had fallen out forcing the woman to relocate to Munyaka centre where the man caught up with her, slashing her with a machete before killing the daughter," said the police boss.

And in the second case in Naivasha, the police say the teenager wooed a neighbour's daughter and killed her before dumping her body in a quarry.

The irate public descended on the family's house, demolishing it before the police rescued the suspect and his mother.

According to Naivasha OCPD Stephen Kirui, the suspect and his mother had recorded statements.

Elsewhere in Trans Nzoia, the police have arrested a 40-year-old man for allegedly confining two toddlers within his residence for three months.

According to Kwanza Sub-County Police Commander James Odera, the children had been deprived of necessities and human interaction.

The man denied any wrongdoing and claimed his wife left for Saudi Arabia one year ago.

"It's unfathomable to comprehend how someone could subject young children to such appalling conditions," said Peter Wanyonyi, a local resident.

Wanyonyi called for swift and decisive action to be taken against perpetrators of such acts.

"We must stand together to protect the most vulnerable members of our society and ensure that those responsible for such atrocities face the full force of the law," said Wanyonyi.

Human rights activist Bernard Simiyu, representing the Centre for Restoration of Human Rights and Democracy, claimed the children were living in deplorable conditions.

When he visited, Simiyu noted the high level of security surrounding the premises and observed two toddlers, who appeared malnourished, peeping through a window.

"These children have been deprived of their basic rights, including the right to proper care and sunlight," said Simiyu

He condemned the actions, asserting that the suspect's behaviour amounted to a flagrant breach of the children's rights and welfare.

He said there is an urgent need for intervention to ensure the safety and well-being of vulnerable children in such circumstances.