A volunteer at the Hempstead Town animal shelter has filed a federal lawsuit against the town and several officials alleging that she was mocked, harassed and retaliated against for speaking out in defense of the animals, documents show.

Barbara Anne Thomas, a Massapequa resident who is an NYPD sergeant in the Animal Cruelty Investigation Squad, has been a volunteer at the town’s animal shelter in Wantagh since June 2013, according to the lawsuit, which was filed in U.S. District Court in the Eastern District of New York on May 9. She was allegedly ejected from the animal shelter in February and barred from the facility.

Thomas has sued for violations of her First Amendment right of freedom of speech and access to government, as well her right to equal protection under the laws, and defamation, the lawsuit states.

advertisement | advertise on newsday

This lawsuit is the latest of several filed against the town regarding the animal shelter, which is also the subject of an audit from Nassau County Comptroller George Maragos. Animal shelter advocates have claimed mistreatment of animals and mismanagement of the shelter’s procedures.

Town spokesman Mike Deery said: “We don’t comment on pending litigation.”