A veteran US law-enforcement official has filed a blockbuster discrimination lawsuit against Homeland Security Secretary Janet Napolitano, charging she pushed him aside to make way for a less-qualified woman who’s “enjoyed a long-standing relationship” with the anti-terror chief.

That woman, Dora Schriro, identifed in court papers and first reported by blogger Debbie Schlussel,was later appointed by Mayor Bloomberg as commissioner of the city Department of Correction, a post she still holds.

The court papers also allege that Suzanne Barr, Napolitano’s chief of staff at Immigration and Customs Enforcement, has engaged in “numerous” acts of “sexually offensive behavior” intended to “humiliate and intimidate male employees.