A Florida sheriff deputy received an unpleasant surprise at a ceremony where he was being named deputy of the month.

The officer, who was being honored for arresting a homicide suspect, came face-to-face with a man who called him a rogue police officer.

Tamarac Commissioner Elberg Mike Gelin was the man who called out Broward sheriff deputy Joshua Gallardo, saying the officer falsely arrested him in 2015.

In the video, which has gone viral, Gelin calls Gallardo to the front of the room and confronts him about the 2015 incident.

"You probably don't remember me but you're the police officer who falsely arrested me four years ago," Gelin said. "You lied on the police report. I believe you're a rogue police officer. You're a bad police officer, and you don't deserve to be here."

The Broward Sheriff's Office Deputies Association responded to Gelin's action on Facebook, saying "what should have been a proud moment for Deputy Galardo and the citizens of Tamarac was quickly extinguished by City Commissioner Mike Gelin."

"It is outrageous that Commissioner Gelin acted in an official capacity to berate a Deputy who was just recognized for apprehending a known gang member wanted for homicide who has previously been deported,”  Union President Jeff Bell of the Broward Sheriff’s Office Deputies Association said, according to the Facebook post.

According to a copy of the 2015 arrest record obtained by BuzzFeed News,  Gallardo said he was responding to a "victim of a battery" near a Salvation Army store when Gelin approached the officer from behind and started recording the incident on a phone.

"I advised the black male to move back, that this is a crime scene," Gallardo wrote, according to the document obtained by BuzzFeed News. "He advised he was recording the incident and that he did not have to move."

Gallardo said in the report that he arrested Gelin after he failed to comply when the officer repeatedly told him to move back.

In an interview with BuzzFeed News, Gelin said he never approached the officer from behind.

"It would not benefit me to be behind him," Gelin told BuzzFeed News. "I would need to be in full view of the victim I’m recording.”

Gelin said he spoke up at the meeting because the arrest "profoundly affected" him, BuzzFeed News reported.

Tamarac Mayor Michelle Gomez told the Sun-Sentinel that she was embarrassed by Gelin's action at the meeting.

"We were all shocked," Gomez told the Sun-Sentinel. "Nobody expected this. It was a nice event to honor our BSO, our deputies."