NEW YORK (AP) — A former New York City police union president who’s clashed with city officials over his insulting tweets and combative behavior is expected to surrender Wednesday to face criminal charges connected to a raid last year on his home and union office, two law enforcement officials said.

Ed Mullins resigned in October as head of the Sergeants Benevolent Association after the FBI searched the union’s Manhattan office and his Long Island home. He retired from the NYPD in November, a month after he was placed on modified duty and forced to give up his gun and badge because of the raids.

Information on charges against Mullins was not immediately available. He is expected to be in federal court later on Wednesday. The officials confirming his arrest were not authorized to speak publicly about an investigation and did so on condition of anonymity.

The Sergeants Benevolent Association represents about 13,000 active and retired NYPD sergeants and controls a $264 million retirement fund. Messages seeking comment were left with the NYPD, the union, and a lawyer who’s represented Mullins in the past. The FBI declined comment.

Mullins, a police sergeant who was detached to full-time union work, was subject to department disciplinary proceedings for sending derogatory tweets about two city officials and for tweeting NYPD paperwork in 2020 about the arrest of then-Mayor Bill de Blasio’s daughter during protests over the Minneapolis police killing of George Floyd.

Mullins was forced to give up 70 vacation days as punishment, amounting to almost $32,000 in pay. In a previous infraction, in 1987, he gave up 25 vacation days for an off-duty incident in which he punched one person and threw a bottle at another, police records show.

Mullins, a police officer since 1982, rose to sergeant, a rank above detective but below captain and lieutenant, in 1993 and was elected president of the sergeants union in 2002. Under Mullins’ leadership, the union has fought for better pay—with contracts resulting in pay increases of 40%—and staked a prominent position in the anti-reform movement.

Though he was a full-time union chief, city law allowed Mullins to retain his sergeant’s position and collect salaries from both the union and the police department. In 2020, Mullins made more than $220,000 between the two, according to public records: $88,757 from the union and $133,195 from the NYPD.

Along with Mullins’ periodic appearances on cable networks like Fox News and Newsmax—including one in which he was pictured in front of a QAnon mug—perhaps the union’s most powerful megaphone is its 45,000-follower Twitter account, which Mullins ran himself, often to fiery effect.

In 2018, amid a rash of incidents in which police officers were doused with water, Mullins suggested it was time for then-Commissioner James O’Neill and Chief of Department Terence Monahan to “consider another profession” and tweeted that “O’KNEEL must go!”

O’Neill retorted that Mullins was “a bit of a keyboard gangster” who seldom showed up to department functions.

Mullins came under fire and was subject to police department discipline for tweets in 2020 in which he called the city’s former Health Commissioner, Dr. Oxiris Barbot, a “b——” and Rep. Ritchie Torres a “first-class whore.”

Mullins was upset over reports Barbot refused to give face masks to police in the early days of the pandemic and angry with Torres’ calls for an investigation into a potential police work slowdown in September 2020. Torres, who is gay, denounced Mullins’ tweet as homophobic.