Two police officers were seriously injured and two AK-47 rifles stolen after they were attacked by a gang of motorcycle-riding men in Ruai, Nairobi.

The officers, identified as Corporal John Maritim and Corporal Felistus Tuitoek, were on beat duties when the gang attacked them at about 1 am on Tuesday, according to a police report.

Members of the public who reported the incident rushed the injured officers to Reale Hospital in Utawala for treatment.

Police officers led by the Ruai Sub-County Police Commander visited the hospital and found the two officers in serious condition.

Maritim sustained a deep cut to the back of his head and injuries to his hands. He was reported to be unresponsive at the time of the hospital visit.

Tuitoek also sustained a deep cut to the back of her head and injuries to both hands but was responsive, according to the report.

Police believe the officers were attacked with a sharp object.

The gang reportedly escaped with two AK-47 rifles, each loaded with 30 rounds of ammunition.

The stolen firearms were identified as AK-47 serial number 5524217, issued to Maritim and AK-47 serial number 5525776.

Police officers were deployed to the ground in an effort to recover the stolen weapons and pursue the attackers.

The Directorate of Criminal Investigations (DCI) in Ruai is handling the case, which police classified as robbery with violence and injury to police officers.

Investigations are ongoing, with police expected to provide further details as efforts to trace the attackers and recover the firearms continue.