A member of Philadelphia Mayor James Kenney's staff taped the Democrat dancing with his chief of staff in celebration of a court ruling in favor of the city and against the Trump administration.

On Wednesday, federal Judge Michael Baylson of the Eastern District of Pennsylvania ruled that President Donald Trump cannot cut off grants to Philadelphia over the way they handle illegal immigrants.

Baylson, a George W. Bush appointee, wrote that Trump and Attorney General Jeff Sessions' "public statements... asserting that immigrants commit more crimes than native-born citizens, are inaccurate as applied to Philadelphia, and do not justify the imposition of these... conditions."


11 People Show Up to Maxine Waters' Campaign Event to Energize Millennials

'It's Just a Miracle': Woman's Cancer Symptoms Spotted by Doctor Watching Her on HGTV


On video tweeted by Kenney's deputy chief of staff Steve Preston, the mayor opens a door and walks into a room.


Philadelphia Mayor Unloads on 'Bully, Punk' Trump: 'His Family Didn't Do a Great Job Raising the Guy'


He begins dancing in double-time and singing about being a "sanctuary city," and is seen giving a woman identified by Preston as Chief of Staff Jane Slusser a high-five.

Earlier this week, Kenney, 60, blasted Trump as a "fragile egomaniac" after the president disinvited the Philadelphia Eagles from a White House visit.

"Disinviting them from the White House only proves that our president is not a true patriot, but a fragile egomaniac obsessed with crowd size and afraid of the embarrassment of throwing a party to which no one wants to attend," Kenney said in a statement reported by Fox News.

Regarding the court win, FoxNews.com reported that:

Federal attorneys had said the city's policies put federal immigration agents in danger and create situations where criminals in the country illegally are released and allowed to reoffend.

A spokesman for the city said Wednesday afternoon that staff was reviewing the ruling. A request for comment from the Department of Justice was not immediately returned Wednesday.

The city had said that the requirements on federal grant spending were unconstitutional and that following them would promote a perception in the community that it was serving as an arm of federal immigration enforcement. City attorneys had argued that would create a barrier for immigrants to seek out city services ranging from health care to calling the police when they're victimized.

Watch the video above.


Eagles Fan Watters: Philadelphia 'Tried a Trick Play, Trump Snuffed It Out'

CA Dem Candidate: Party Officials Told Me I'm 'Too Brown' to Win

Sarah Sanders Rips Eagles for 'Political Stunt' In Cancelled White House Visit