Washington (CNN) The top federal prosecutor in Philadelphia lashed out at his local counterpart in an extraordinary statement Thursday, blaming District Attorney Larry Krasner and the progressive criminal justice efforts he has pushed for precipitating a violent standoff between police and a shooter in the city that had ended hours earlier.

US Attorney William M. McSwain, President Donald Trump's pick to lead federal-level cases in the Eastern District of Pennsylvania, said Krasner used "vile rhetoric" toward police and promoted "lawlessness" through his policies that have shifted local prosecutions away from minor crimes like marijuana possession and have shown leniency in charging certain homicides.

"There is a new culture of disrespect for law enforcement in this City that is promoted and championed by District Attorney Larry Krasner -- and I am fed up with it," McSwain wrote in a statement that was released online

On Wednesday, a 36-year-old ex-convict , Maurice Hill, fired more than 100 rounds at Philadelphia police after they tried to serve a narcotics warrant at a row house he'd holed up in, authorities said. Six officers were wounded over the nearly eight-hour gun battle, which ended shortly after midnight with Hill's arrest.

Krasner was elected to the post in 2017 and is among the biggest names in a movement that has seen the election of a number of progressive district attorneys in urban areas across the country.