WASHINGTON — This perp ate too fresh.

A man who used a Subway sandwich to attack a federal agent on the streets of DC earlier this week has been charged with felony assault.

The criminal case against Sean Charles Dunn, 37, was announced Wednesday by DC US Attorney Jeanine Pirro, who said in a statement that “the police are not out there to get pushed around or beat up.”

Sean Charles Dunn was accused of assaulting federal agents with a Subway sandwich. Getty Images

Dunn was allegedly captured on video Sunday night shouting that a group of federal officers were “fascists” before whipping his deli sandwich at them and striking a US Customs and Border Protection agent in the chest.

Dunn’s arrest as the federal government takes control of DC in an effort to combat spiraling crime. Getty Images

“He thought it was funny. Well he doesn’t think it’s funny today because we charged him with a felony: Assault on a police officer,” Pirro said in a video posted to X.

Dunn can be seen on video allegedly assaulting a federal officer in D.C. Instagram/@bigap4l

“So there, stick your Subway sandwich somewhere else!”

Dunn could not immediately be reached for comment by The Post.

The criminal complaint says Dunn confessed to a DC police officer, “I did it. I threw a sandwich.”

President Trump began deploying federal officials to support local police in fighting crime in DC on Aug. 7.

Dunn reportedly screamed ‘fascists’ at the officers before the hoagie haymaker. Getty Images

On Monday, he asserted federal control over the DC Metropolitan Police Department and activated the National Guard.

The hundreds of supplemental federal officials have made more than 100 arrests, including 23 on Monday and 43 on Tuesday, according to the White House.

The collared suspects include 33 people accused of gun crimes, 23 alleged illegal immigrants, 10 suspects with outstanding warrants and seven wanted on drug charges, per the administration.