A Muslim immigrant from Egypt who confessed to sexually molesting 13 women told a judge he wasn't aware that he did anything wrong, arguing such actions are not punished in his home country.

Prosecutors said 29-year-old Aly E. attacked the women between April 2015 and February 2018 on Berlin subway cars and at stations, according a translation of a report by the Berlin daily newspaper B.Z.

After confessing to his crimes, he told the judge: "Nobody told me this is wrong."

Robert Spencer, director of Jihad Watch, spotlighted the story, commenting that he is likely telling the truth.

TRENDING: Dying father gets to see son play football one last time thanks to kindhearted nurse

"In Egypt, if a woman ventures out with her hair uncovered, she is risking being sexually assaulted," Spencer wrote. "So he brought these attitudes to Germany. What else did anyone expect?"

The paper said the Muslim immigrant, who immigrated from Egypt at age 14, explained further.

"In Egypt, things like that happen a lot, they do not punish them. I do not know any laws," he told the judge. "There were no police in my village. Nobody told me that this is wrong."

The indictment said that in one incident, at about 2:35 pm on Feb. 17, he grabbed a woman "under her dress from behind, while at the same time pleasuring himself."

The attack took place at the Kaiserin-Augusta-Strasse underground station in the German capital.

The judge asked the defendant in horror.

"So you mean, you can do that here in Germany? Grabbing women between their legs and exposing yourself publicly is allowed here?"

The immigrant then shifted blame to drugs.

"That's what heroin did," he said.

Last month, the arrest of an Iraqi immigrant in the murder of a 14-year-old Jewish girl in Germany stoked criticism of Chancellor Angela Merkel's immigration policy, including a call from an opposition party for her to resign.

In addition to the murder of Feldman, Bashar was among several people suspected of sexually assaulting an 11-year-old girl at the refugee shelter. And he was connected to several violent incidents, including an alleged robbery, possession of a knife and fighting.

The leader of the Alternative for Germany party, a leading opponent of the new wave of immigration, called on Merkel to resign.

Bashar was among more than a million people from mostly Muslim countries that arrived in Germany in 2015.

The Frankfurter Allgemeine Zeitung said cases such as Bashar's "seem to be adding up."

In March, BBC News noted, an Afghan asylum seeker was sentenced to life imprisonment for the rape and murder of student Maria Ladenburger.

Last December, an Afghan migrant was arrested on suspicion of stabbing his 15-year-old ex-girlfriend to death.