Egypt's President Mohammed Mursi has pardoned all political prisoners detained since the start of protests that toppled Hosni Mubarak last year.
The pardon covers citizens facing trial and those serving jail sentences except for those convicted of murder.
Activists have said that thousands of civilians ended up in army courts in the security vacuum that followed the fall of Mubarak in 2011.
The campaign group, No to Military Trials, said at least 5,000 political prisoners were still in jail.
Many of those jailed were arrested in the protests that erupted during the 18 months an interim military government was in charge in Egypt under the leadership of Field Marshal Hussein Tantawi.
Some prisoners have even been tried since Mr Mursi took office in June.