MEDFORD (CBS) — A post on the Medford Police Patrolmen’s Association Facebook page caused controversy online over the weekend.

The post showed Medford Police officers at the Fall Festival in Haines Square Saturday posing with a person in a Hillary Clinton mask and prison clothes. The officers were smiling and holding the person in handcuffs as if they were arresting them.

READ MORE: Massachusetts Sales Tax Holiday Weekend Set For August 14 & 15
(Screenshot from Medford Police Patrolmen's Association Facebook page)

(Screenshot from Medford Police Patrolmen’s Association Facebook page)

The caption on the photo read, “Look who MPD grabbed at the Fall Festival in Haines Square today…”

In another photo, the officers posed with someone in a Donald Trump mask, with the caption, “Making America GREAT again in West Medford Square!!”

READ MORE: Construction Worker Impaled By Piece Of Fence At Plymouth Home
(Screenshot from Medford Police Patrolmen's Association Facebook page)

(Screenshot from Medford Police Patrolmen’s Association Facebook page)

Harry MacGilvray, president of the Medford Police Patrolmen’s Association, admitted poor judgement in making the post.

“These were Halloween costumes.  It was meant totally as a joke. I apologize if this offended anyone in any way,” MacGilvray said in a statement. “I never expected this sort of reaction. It was poor judgment on my part.”

MORE NEWS: 5 Ducklings Rescued From Storm Drain In Rockland

The posts have since been removed.