NEWARK, N.J. — Newark Mayor Ras Baraka sued New Jersey’s top federal prosecutor on Tuesday over his arrest on a trespassing charge at a federal immigration detention facility, saying the Trump-appointed attorney had pursued the case out of political spite.

Baraka, who leads New Jersey’s biggest city, is a candidate in a crowded primary field for the Democratic nomination for governor next Tuesday. The lawsuit against interim U.S. Attorney for New Jersey Alina Habba coincided with the day early in-person voting began.

The lawsuit seeks damages for “false arrest and malicious prosecution,” and also accuses Habba of defamation for comments she made about his case, which was later dropped.

The suit also names Ricky Patel, the Homeland Security Investigations agent in charge in Newark. Baraka’s attorney, Nancy Erika Smith, said they also expect to sue President Donald Trump’s administration but are required to wait six months. Emails seeking comment were left Tuesday with Habba’s office and the Homeland Security Department, where Patel works.

— The Associated Press