An NYPD school safety agent was arrested in Williamsburg, Brooklyn, late Saturday night after a heated argument with cops got physical, police said.

Melinda Breland, 33, was taken into custody just after 11 p.m. outside of Cozzi Pizza at 584 Broadway near Lorimer Street, according to police.

Police sources said Breland was intoxicated at the time and left her car empty and idling on Broadway.

When cops tried to turn off the car she pushed them out of the way and tried to get back in her vehicle. When cops wouldn’t let her, she allegedly delivered a fierce kick to one of the officer’s legs, police said.

Breland’s charges include assault on a police officer, resisting arrest and disorderly conduct, among others.

The assaulted officer was taken to Bellevue with minor injuries.