An Egyptian military court has sentenced four militants to death in connection with the killing of 20 police officers.

The court heard the accused were members of a branch of the Islamic State group, and that they had been involved in a series of attacks last year.

Sixteen other defendants were given life sentences.

Hundreds of Egyptian policemen, soldiers and civilians have been killed in jihadi attacks in recent years.