Ravy Shaker, El Shorouk, Associated Press
Prominent Egyptian blogger Alaa Abdel-Fattah's mother, Laila Soueif, a university professor who is an also an activist, background left, his sister Mona Seif, wearing eyeglasses at center, and his wife, Manal Bahy Eddin Hassan at right, cheer after his release on bail at a courtroom in Cairo, Egypt, Monday, Sept. 15, 2014. Relatives say that Egypt's most prominent activist who is standing retrial after being sentenced to 15 years in prison for violating to the country's draconian protest law, has been released on bail.

CAIRO — Egypt's most prominent activist, who is facing a retrial on a 15-year prison sentence for violating a draconian protest law, was granted release on bail Monday, lawyers and relatives said.

His release came after dozens of activists began a hunger strike last month to protest against the curbs on public demonstrations and the detention of activists, including some of the leading figures in the 2011 uprising that ended Hosni Mubarak's nearly three-decade rule.

The lawyer representing blogger Alaa Abdel-Fattah, a vocal government critic for more than a decade who has been repeatedly jailed, said he was released on 5,000 Egyptian pounds ($714) bail along with two other activists. Attorney Mohammed Abdel-Aziz said the three should leave prison on Tuesday once their paperwork is completed.

He added that the judge presiding over the retrial has stepped down at the request of defense lawyers. "The judge said in his reasons for stepping down that it was prompted by a show of disrespect to the court," Abdel-Aziz said. The retrial will begin once a new judge is assigned to the case.

Last week, during the latest court session, Egyptian prosecutors presented a personal home video of Abdel-Fattah's wife dancing as evidence against him, prompting an outcry from his lawyers that the material was irrelevant and defamatory.

The judge allowed the video to be shown at the time, but on Monday he ordered the country's top prosecutor to investigate the use of the video, according to a judicial official. The judge called the video irrelevant to the case and said playing it in public violated the constitutional right to privacy, according to the official, who spoke on condition of anonymity because he was not authorized to speak to the media.

The rest the evidence presented during the session consisted of video clips from private TV stations showing various protests and police chasing unidentified civilians. No scenes or footage of Abdel-Fattah or any other defendant in the case were shown.

Abdel-Fattah's sentence was the harshest given to secular activists amid an ongoing government crackdown that has mainly targeted Islamist supporters of President Mohammed Morsi, who was overthrown by the military in July 2013 amid massive protests demanding his resignation.

The subsequent crackdown on Morsi supporters saw thousands jailed and hundreds killed in street clashes as police dispersed demonstrations and sit-ins. Morsi and many senior members of his Muslim Brotherhood movement have been jailed since last summer.

Last autumn the government passed a law criminalizing any unauthorized protest, and police have arrested both Islamist and non-Islamist activists who violate it.

Abdel-Fattah was granted a retrial last month on charges of organizing an unauthorized protest, beating a police officer and stealing his walkie-talkie last November.

Last month dozens of non-Islamist activists and journalists started a mass hunger strike to protest the prolonged detention of activists, under a campaign called "We have had enough." On Monday, some 100 protesters took to the steps of the Press Syndicate in downtown Cairo to chant against the protest law.

"We don't know what to do for those imprisoned ... this is the last thing we can do," said 27-year-old Doaa Bassouni, who said she had started a 48-hour hunger strike in support of the detainees.

The release of Abdel-Fattah was welcomed as a small victory by the young activists, many of whom had taken part in the massive Arab Spring demonstrations that toppled Mubarak.

"A small but wonderful victory for brave activist community still working to keep the Jan 25th dream alive," novelist Ahdaf Soueif, Abdel-Fattah's aunt, wrote on Twitter, referring to the start of the anti-Mubarak protests.

Abdel-Fattah has been arrested several times, including under Mubarak, the military authorities who ruled after his ouster and Morsi.

He comes from one of Egypt's most prominent activist families, and his sister Sanaa is also in jail for violating the protest law. His father Ahmed Seif was a longtime human rights activist who was repeatedly jailed under Mubarak and who passed away in late August.

Associated Press reporter Sarah El Deeb contributed to this report from Cairo