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: Tractor-Trailer Driver Who Sideswiped & Injured Mass. State Lieutenant On I-495 Arrested
(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: 'It Means Celebrating Freedom': Communities Across Boston Celebrate 1st Juneteenth As National Holiday
(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: 'Know The Area': Bourne Fire Chief Issues Warning To Swimmers After Recent Rescues From Rip Currents

The posts have since been removed.