New York City Mayor Eric Adams issued a stern warning on Sunday to the NYPD officers who’ll join his new anti-gun crime team, saying they’ll be fired from the force if they engage in misconduct and targeted tactics, the New York Post reports.

The mayor’s remarks come amid concerns his newly announced team — tasked with wiping out gun violence across the city — will just be a replica of the controversial anti-crime unit of the past.

Adams has repeatedly insisted the team, which was unveiled last week, will not repeat the mistakes of the past.

“We know what was wrong with the unit. It was an abusive unit. It targeted and profiled,” Adams said.