In a statement, John Greyson and Tarek Loubani, two Canadians detained in Egypt, have described the events leading up to their arrest and demanded their release.

Greyson, a Toronto filmmaker, and Loubani, a London, Ont.-based doctor, were arrested in Cairo on Aug. 16, during a period of violent unrest in Egypt. They have been held in Tora prison for six weeks, although charges have not been laid. Both were travelling to Gaza, where Loubani planned to volunteer at a hospital and Greyson would consider filming a documentary, according to the Canadian Press.

UPDATE: An Egyptian prosecutor ruled Tarek Loubani and John Greyson will be detained for an additional 45 days, according to the Toronto Sun.

Independent journalist Sharif Kouddous tweeted the development Sunday morning.

Their statement, dictated to their lawyers and published on mutual friend Justin Podur’s website, describes their ordeal.

“We have held onto this statement out of fear that the Egyptian authorities would harm Tarek and John if we released it,” a message on the site reads. "But given the announcement of impending charges in the Toronto Star today, we think that their own words can explain what the 'evidence' the Egyptian authorities claim to have is."

The statement says the pair got stuck in Cairo and decided to check out a protest in Ramses Square, near their hotel. Upon seeing an injured young man, the statement said, Loubani “snapped into doctor mode” to help, while Greyson shot footage of “the carnage that was unfolding.”

"The wounded and dying never stopped coming. Between us, we saw over fifty Egyptians die: students, workers, professionals, professors, all shapes, all ages, unarmed. We later learned the body count for the day was 102," the statement reads.

Later, they asked for help at a checkpoint when they couldn’t pass a police cordon.

“That's when we were: arrested, searched, caged, questioned, interrogated, videotaped with a 'Syrian terrorist,’ slapped, beaten, ridiculed, hot-boxed, refused phone calls, stripped, shaved bald, accused of being foreign mercenaries.... They screamed 'Canadian' as they kicked and hit us. John had a precisely etched bootprint bruise on his back for a week,” the statement said.

They describe sharing a 3.5mx5.5m cell with six others, “sleeping on concrete with the cockroaches” and sharing “a single tap of Nile water.”

The statement ends with a demand for their release.

Canadian officials have said Greyson and Loubani were in the wrong place at the wrong time.

Egyptian Foreign Ministry spokesman Badr Abdelatty told the Toronto Star “there is a solid basis, according to the attorney general’s office, to charge them in the near future.”

Greyson and Loubani have been on a hunger strike since Sept. 16. to protest the "arbitrary nature of their detention," an earlier release stated.

Related on HuffPost:

Loading Slideshow...
  • A military attack helicopter flies over a street near the presidential palace, in Cairo, Egypt, Friday, July 5, 2013. (AP Photo/Hassan Ammar, File)

  • Supporters of Egypt's ousted President Mohammed Morsi hold up placards as they shout slogans during a demonstration where protesters have installed their camp, at Nasr City, Cairo, Egypt, Friday, July 19, 2013. (AP Photo/Hussein Malla)

  • Supporters of Egypt's ousted President Mohammed Morsi offer their Friday prayer where protesters have installed their camp and held their daily rally, at Nasr City, Cairo, Egypt, Friday, July 19, 2013. (AP Photo/Hussein Malla)

  • Supporters of Egypt's ousted President Mohammed Morsi wave their national flags during a demonstration where protesters have installed their camp and hold their daily rally, at Nasr City, Cairo, Egypt, Friday, July 19, 2013. (AP Photo/Hussein Malla)

  • A supporter of Egypt's ousted President Mohammed Morsi, center, offers her Friday prayer where protesters have installed their camp and hold their daily rally, at Nasr City, Cairo, Egypt, Friday, July 19, 2013.” (AP Photo/Hussein Malla)

  • Supporters of Egypt's ousted President Mohammed Morsi carry a man who fainted from the heat during a demonstration where protesters have installed their camp and hold their daily rally, at Nasr City, Cairo, Egypt, Friday, July 19, 2013. (AP Photo/Hussein Malla)

  • A supporter of Egypt's ousted President Mohammed Morsi offers his Friday prayer where protesters have installed their camp and held their daily rally, at Nasr city, Cairo, Egypt, Friday, July 19, 2013. (AP Photo/Hussein Malla)

  • A supporter of Egypt's ousted President Mohammed Morsi wear wears a headband with Arabic that reads: "Egypt," during a demonstration where protesters have installed their camp, at Nasr City, Cairo, Egypt, Friday, July 19, 2013.” (AP Photo/Hussein Malla)

  • Supporters of the Muslim Brotherhood and ousted Egyptian president Mohamed Morsi hold his picture as they march towards Cairo University to demand his reinstatement in Cairo on July 19, 2013. (KHALED DESOUKI/AFP/Getty Images)

  • Residents of Rabaah al-Adawiya neighborhood hold Arabic placards that read:"Not to terrorize the residents," as they march during a protest against the supporters of ousted Egyptian President Mohammed Morsi, who have installed their camp and hold their daily rally on their area, at Nasr city, Cairo, Egypt, Thursday, July 18, 2013. (AP Photo/Hussein Malla)

  • Residents of Rabaah al-Adawiya neighborhood hold Arabic placard that reads:"Will not be silent anymore,"left, and SOS as they march during a protest against the supporters of ousted Egyptian President Mohammed Morsi, who have installed their camp hold and their daily rally on their area, at Nasr city, Cairo, Egypt, Thursday, July 18, 2013. (AP Photo/Hussein Malla)

  • Residents of Rabaah al-Adawiya neighborhood hold up an Arabic placard that reads:"Not to terrorize the residents," as they march during a protest against the supporters of ousted Egyptian President Mohammed Morsi, who have installed their camp and their daily rally on their area, at Nasr city, Cairo, Egypt, Thursday, July 18, 2013. (AP Photo/Hussein Malla)

  • Residents of Rabaah al-Adawiya neighborhood, hold Arabic placards that read:"Not to terrorize the residents," as they march during a protest against the supporters of ousted Egyptian President Mohammed Morsi, who have installed their camp and their daily rally on their area, at Nasr city, Cairo, Egypt, Thursday, July 18, 2013. (AP Photo/Hussein Malla)

  • A supporter of Egypt's ousted President Mohammed Morsi sits in front of his poster in a park in front of Cairo University, where protesters have installed their camp in Giza, southwest of Cairo, Egypt, Thursday, July 18, 2013. (AP Photo/Amr Nabil)

  • Supporters of Egypt's ousted President Mohammed Morsi check women at sand barriers recently set up for women to enter where protesters have installed their camp at Nasr City in Cairo, Egypt, Thursday, July 18, 2013. (AP Photo/Hussein Malla)

  • A firework launched by opponents of ousted President Mohammed Morsi explodes during clashes in downtown Cairo, Egypt on Monday, July 15, 2013. (AP Photo/Hussein Malla)

  • An Egyptian boy takes pictures of supporters of Egypt's ousted President Mohammed Morsi, who are seen praying the the Tarawih prayer, after the evening meal when Muslims break their fast during the Islamic month of Ramadan, in front of Cairo University, where protesters have installed their camp in Giza, southwest of Cairo, Egypt, late Wednesday, July 17, 2013. (AP Photo/Hussein Malla)

  • This image released by the Egyptian Presidency shows interim President Adly Mansour, center, meeting with European Union foreign policy chief, left, and Egyptian Foreign Minister Nabil Fahmy, second right, in Cairo, Wednesday, July 17, 2013. (AP Photo/Egyptian Presidency)

  • Egyptian riot police work during a demonstration for supporter of ousted President Mohammed Morsi, near Tahrir Square in downtown Cairo, Egypt, Wednesday, July 17, 2013. (AP Photo/Khalil Hamra)

  • Supporters of ousted President Mohammed Morsi demonstrate near Tahrir Square in downtown Cairo, Egypt, Wednesday, July 17, 2013. (AP Photo/Khalil Hamra)

  • A supporter of Egypt's ousted President Mohammed Morsi, talks to riot police standing guard during a demonstration near Tahrir Square in downtown Cairo, Egypt, Wednesday, July 17, 2013. (AP Photo/Khalil Hamra)

  • Egyptian riot police stand guard during a demonstration by supporters of ousted President Mohammed Morsi, near Tahrir Square in downtown Cairo, Egypt, Wednesday, July 17, 2013. (AP Photo/Khalil Hamra)

  • A supporters of Egypt's ousted President Mohammed Morsi cries during the evening prayers in a park in front of Cairo University, where protesters have installed their camp in Giza, southwest of Cairo, Egypt, late Tuesday, July 16, 2013. (AP Photo/Amr Nabil)

  • Silhouetted supporters of ousted President Mohammed Morsi throw stones towards opponents of Morsi during clashes on a bridge in downtown Cairo, Egypt, Monday, July 15, 2013. (AP Photo/Hussein Malla)

  • Opponents of ousted President Mohammed Morsi run from fireworks fired by pro-Morsi supporters during clashes on a bridge in downtown Cairo, Egypt, Monday, July 15, 2013. (AP Photo/Hussein Malla)

  • A Supporter of ousted President Mohammed Morsi holds a poster of him during clashes in downtown Cairo, Egypt, Monday, July 15, 2013. (AP Photo/Khalil Hamra)

  • Egyptian soldiers take position outside the presidential palace as opponents of ousted president Mohamed Morsi arrive to break their fast with the iftar meal in Cairo on July 12, 2013. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Supporters of ousted Egyptian president Mohamed Morsi, chant slogans against Defense Minister Abdelfatah el-Sisi close to the Republican Guards headquarters on July 12, 2013. (MARWAN NAAMANI/AFP/Getty Images)

  • Fireworks burst over opponents of Egypt's ousted Islamist President Mohammed Morsi during a rally outside the presidential palace in Cairo, Egypt, Sunday, July 7, 2013. (AP Photo/Hassan Ammar)

  • Egyptian clerics, supporting the ousted Egyptian President Mohammed Morsi, leave al-Azhar mosque following a protest in Cairo, Egypt, Sunday, July 14, 2013. (AP Photo/Hussein Malla)

  • Supporters of the ousted Egypt's President Mohammed Morsi, stand behind a wall made by the protesters, as they look to the Egyptian army soldiers, not seen, at blocked highway that link to the airport, in Cairo, Egypt, Friday, July 12, 2013. (AP Photo/Hussein Malla)

  • Supporters of Egypt's ousted President Mohammed Morsi pray during the Friday prayer in Nasr City, Cairo, Egypt, Friday, July 12, 2013. (AP Photo/Hussein Malla)

  • Supporters of Egypt's ousted President Mohammed Morsi chant slogans during a demonstration in Nasr City, Cairo, Egypt, Friday, July 12, 2013. (AP Photo/Hussein Malla)

  • Egyptian army soldiers stand guard as supporters of Egypt's ousted President Mohammed Morsi walk towards a park near Cairo University, where protesters have installed their camp in Giza, southwest of Cairo, Egypt, Friday, July 12, 2013. (AP Photo/Amr Nabil)

  • An opponent of ousted Egypt's Islamist President Mohammed Morsi shows a banner in Tahrir square, in Cairo, Egypt, Friday, July 12, 2013. (AP Photo/Hassan Ammar)