Sometimes even cops need to be rescued.

And that’s where the fire department comes in.

It happened in Kansas City at a police academy building.

“Don’t know what happened exactly,” said Tim Dupin with the Kansas City Fire Department.

“The elevator just stopped working on them.”

Trapped, the police officers needed help, and firefighters seemed to take delight in responding to the call.

“Like in a lot of cities, here we have a friendly rivalry between firefighters and police with a lot of good ribbing that goes on,” Dupin tells KWQC.

This time, the crew of Kansas City Fire Truck 4 had the upper hand – and a fantastic photo to mark the occasion.

In the end, there were no injuries, just a good time.

“Seriously,” said Dupin, “to have this kind of camaraderie is really special.”

Visit the original story from our NBC affiliate in Kansas City.