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: 'Rally Against Replacement' At St. Vincent Hospital Hosted By Reps. Trahan, McGovern
(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: New Bedford Man Dies After Shooting Outside Convenience Store
(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: 3 Fisherman Rescued From Sinking Boat Off Cape Cod

The posts have since been removed.