The law was passed in 2013 amid persistent demonstrations calling for the reinstatement of Muslim Brotherhood leader Mohamed Morsi after the military overthrew him following mass protests against his rule.
It requires would-be protesters to notify the interior ministry of any public gathering of more than 10 people at least three days in advance, imposes jail sentences of up to five years for those who violate a broad list of protest restrictions, and allows security forces to disperse illegal demonstrations with water cannons, tear gas and birdshot.