An Egyptian military court sentenced on Monday four people to death and 17 others to life in prison in the case known in the media as the "Giza Province" case.
The prosecutor-general’s office charged the defendants with joining a terrorist organisation, conspiracy, the use of weapons and bombs that resulted in the death of 20 police personnel and an employee at the authority of roads and bridges, as well as destroying public property.
The court also handed down a 15-year sentence to two defendants, six years to ten, and five years to five defendants in the same case.
Monday's verdicts can be appealed in a military court of appeals.
Seventeen defendants were acquitted in the same case.
The court also ruled that nine defendants are to pay compensation for damage caused to roads and bridges.
The case involved the trial of members of a terrorist organisation formed in Egypt's Giza governorate with links to the terrorist group Daesh.
Egypt's security apparatus has said that this group attempted to form a terrorist cell in Egypt's Giza governorate to be known as the "Daesh state in Giza."
Officials have also said that this group targeted the Egyptian foreign ministry building and attacked the authority of roads and bridges in February 2016, which what resulted in the death an employee and the injury of several others.
The terrorist organisation was reportedly formed following the Nahda sit-in supporting the ousted Islamist president Mohamed Morsi in August 2014.