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: First Afghan Refugees Arrive In Massachusetts
(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: Car Crashes Into Allston Auto Body Shop, Damaging Building
(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: Gov. Baker Calls For Action Towards Ending Nurses' Strike At St. Vincent Hospital

The posts have since been removed.