A hijab-wearing Brooklyn cop has sued the NYPD, saying that fellow officers discriminated against her and even posted pictures of her at a department gun range.

Danielle Alamrani said she started getting harassed, bullied — and even beat up — when she began wearing a hijab to work in 2008, according to a new lawsuit.

Once she started going to work in head garb, Alamrani’s fellow officers retaliated by calling her names like “terrorist” and “Taliban” and telling her “that she should not be a police officer,” said claimed in a lawsuit filed in Manhattan federal court.

Things got so bad that in 2012 she was “physically attacked” by two officers who “attempted to rip her Hijab off of her head,” the lawsuit claimed.

The officers, including the equal employment opportunity liaison for her district, screamed “Muslim bitch” while they attacked her and said “I will punch you in the face,” according to the lawsuit.

Alamrani, who converted to Islam in 2007, suggested she has social media evidence of the harassment. She collected the evidence in 2015 after a fellow officer posted pictures of her in her hijab at the gun range on Facebook.

That prompted her co-workers, who didn’t like what they saw, to make comments such as “f–king disgrace.” They also called her a “moving target,” the lawsuit said.

“Many comments included threats of violence,” said her lawyer Jesse Curtis Rose.

Things escalated when Alamrani complained to internal affairs about the Facebook posts, the lawsuit said.

Rather than punish the offending officers, the officer who investigated her complaint “retaliated against her by filing a complaint with child services,” the lawsuit said. His concern: “there were ‘cracks’ in the walls at her home,” according to her lawsuit.

Alamrani said she is seeking damages in an amount to be determined at trial.

The Law Department, which defends lawsuits against the city, didn’t immediately return a request for comment.

Our editors found this article on this site using Google and regenerated it for our readers.