“Lol,” Maryanksi posted to Facebook. “I love how you liberals are gloating now. You’ll all be begging us right-wing extremists soon enough to storm that Capitol for real."

A contract nurse who worked in the detention unit at Philadelphia Police Headquarters was dismissed from his duties this week after his supervisors learned he’d been charged with attacking officers during the Jan. 6 Capitol riot in Washington.

James Wayne Maryanski — a 52-year-old registered nurse from Boyertown — was barred from the building at 400 N. Broad St. on Wednesday after he showed his bosses the ankle monitor he is required to wear as part of his pretrial release and told them about the case pending against him in Washington, a police spokesperson said.

Federal prosecutors in the district have accused Maryanski of chasing after retreating officers as they fled from a mob of thousands of angry supporters of former President Donald Trump on Jan. 6, 2021. Video from the scene, since shared on social media, appears to show him spraying chemical irritant in the faces of several cops.

“He self-reported,” Philadelphia police spokesperson Sgt. Eric Gripp said Thursday of Maryanski’s dismissal from his duties at the department’s headquarters building. “He was told to leave.”

Maryanski is at least the 87th Pennsylvania resident charged in the historic assault, which caused nearly $3 million in damage to the Capitol building, left scores of officers injured, and threatened the peaceful transition of presidential power.

In all, the Justice Department has prosecuted more than 1,100 people and continues to file new cases — like Maryanski’s — more than two years after the attack.

Until this week, Maryanski regularly worked out of Philadelphia’s Police Headquarters as a nurse under a contract the department holds with YesCare, a Tennessee-based correctional health care company.

The role brought him to the headquarters’ detention unit roughly once a month, Gripp said.

Representatives for YesCare did not immediately respond to questions Friday on whether Maryanski remained employed with the company, despite his dismissal from his role with the Philadelphia police. Maryanski and his attorney, Louis Buscio, also did not immediately respond to requests for comment.

But according to federal court filings in Washington, the charges against him have been pending for nearly a month.