Instead of using force to stop a fight between teenagers before it got ugly, a US police officer decided to show them how to 'whip' and 'Nae Nae'.
In Washington DC, police broke up a group of fighting teenagers and asked the kids to clear out of the area.
Instead of leaving, 17-year-old Aaliyah Taylor asked a female officer to dance while playing the hit song "Watch Me (Whip/Nae Nae)" on her phone and doing her version of the signature shoulder-swaying dance.
Then the officer, in bulky body armor and boots, showed off her own dance moves.
By the time it was over - both sides reportedly claimed victory - the tension had lifted.
President Barack Obama singled out the dance-off as a model for police looking to build relationships with neighborhoods - a pressing issue as outrage at police brutality has grown in the past year.
"Who knew community policing could involve the Nae Nae? Great example of police having fun while keeping us safe," he tweeted under the handle @POTUS.
"With today's technology, if just one of your officers does something irresponsible, the whole world knows about it moments later," he told an audience of police chiefs.
"And countless incidents of effective police work rarely make it on the evening news."
Washington Police Chief Cathy Lanier said the dance-off was no exception.
"Engaging with residents thru dance is part of our dedicated community policing effort in the nation's capital," she tweeted.
Clearly, it's a popular way to ease would-be violence...
Policewoman gets down in viral video
A UK policewoman showed off some impressive dance skills at Manchester’s Pride celebrations on Thursday.
Vic police officer questioned over BDO dance routine
A Victorian police officer put on her dancing shoes and carved up the dance floor at Melbourne's Big Day music festival.
Dancing cop video goes viral
Video of a Sydney police woman has received hundreds of thousands of hits, after she was filmed dancing in Martin Place.
Cop filmed bumping and grinding
Rhode Island traffic cop Tony Lapore gets down and funky directing motorists. Question is, does anyone understand his hand gestures?
NYPD traffic officer hilariously directs traffic
Watch as NYPD traffic officer Mentoria Hutchinson, 62, energetically directs traffic in Manhattan, New York with her own unique style.