Tim Drivas Photography/Getty Images

A black NYPD cop remained calm while facing a racist and vitriol-filled rant from a white suspect that she was arresting, video of the incident shows.

The unnamed female officer was arresting suspect Ilya Freyman, 51, at a gas station in Brooklyn when Freyman started screaming at her. According to the New York Daily News, the suspect screamed the n-word at the officer more than 50 times in the span of one minute.

“You a n——- officer!” Freyman screamed at the cop.

The restraint it takes to listen to this guy repeatedly calling this Sista the N-word, is absolutely amazing. She’s definitely far more level headed, than I possibly would have been in a situation such as this.. pic.twitter.com/It79WB8MvB — Jimmy ✊🏾#PowerToThePeople (@jwheels74) September 14, 2018

Freyman was arrested for criminal mischief, reckless endangerment, and disorderly conduct after punching and breaking the glass at an attendant booth at the gas station. He was also hit with a harassment charge.

Through it all, the officer shows the utmost professionalism and keeps her composure.

In response to a request for comment, an NYPD spokeswoman said Police Commissioner James O’Neill’s thoughts were made known in a recent op-ed, where he said, “As cops, we have to have a thick skin.”