(CNN) - A protester who ridiculed the Muslim prophet Mohammed claims he was assaulted by a Muslim who was offended by the stunt, but a judge has sympathized with the alleged perpetrator, in a case that has drawn national attention.

Self-proclaimed atheist Ernie Perce marched in a Halloween parade in Mechanicsburg, Pennsylvania last October, dressed in a costume mocking Mohammed.

In a YouTube video he posted, Perce can be seen wearing a long fake beard, a white turban and green face paint, calling out provocative phrases like: "I am the prophet Mohammed! Zombie from the dead!" Perce and someone else in a zombie-themed pope costume are carrying a banner that reads "The Parading Atheists of Central Pennsylvania / Ghoulish – Godless – God-Awful."

Then a man who is not seen on the video can be heard saying, "Take it down." Amid sounds of a scuffle, Perce can be heard saying "Hey, he's attacking me!"

Perce told CNN affiliate WHTM that the man “grabbed me, choked me from the back, and spun me around, to try to get my sign off that was wrapped around my neck."

Based on Perce's complaint, a Muslim named Talaag Elbayomy was charged with harassment. But on December 6, District Judge Mark Martin dismissed the case, saying it was one person's word against another's, and that there was no other evidence or eyewitness testimony to prove that Elbayomy had harassed or touched the alleged victim.

The judge also scolded Perce, saying he’d been needlessly provocative on an issue sensitive with Muslims.

"You have that right, but you're way outside your bounds of First Amendment rights," Martin said, according to a recording Perce made of the court hearing. "I think our forefathers intended that we use the First Amendment so that we can speak our mind, not to piss off other people and other cultures, which is what you did."

The judge went on to point out that in many Muslim countries, ridiculing Mohammed could warrant the death penalty under Islamic law.

Critics say Martin's lecture shows he used Muslim cultural grounds to excuse a deplorable assault, and failed to defend an atheist's First Amendment rights.

"That's greatly disturbing to people that believe in free speech," said George Washington University law professor Jonathan Turley. "You can say things that are hurtful to others. We hope that you don't, but you most certainly can be protected. People like Thomas Paine spent his entire life ticking off people across the colonies."

Former terrorism prosecutor Andrew C. McCarthy, writing on the blog of National Review, accused the judge of allowing the Muslim suspect to invoke a "Sharia defense – what he claimed was his obligation to strike out against any insult against the prophet Mohammed."

And Perce said of Judge Martin, "He let a man who is Muslim, because of his preference of his culture and his way of life, walk free, from an attack."

The judge, in a phone interview with CNN, defended his ruling.

"The commonwealth didn't present enough evidence to show me that this person is guilty beyond a reasonable doubt," Martin said. "That's why I dismissed the case. Nothing as nefarious as what everyone's thinking, that I'm a Muslim or I'm biased. I'm actually a Lutheran."

Martin added that he has served three tours of duty, totaling more than two years, in Iraq and Afghanistan, where he learned more about Muslim culture.

"It just amazes me that people think that I'm biased towards Islam," he added. "I got sniped at once, I got ambushed once, I got attacked by a mob once... I've served close to 27 years in the military - and have gone overseas - exactly to preserve that right [freedom of speech.]”

But Martin also repeated his criticism of the atheist protester. "With rights come responsibilities. The more people abuse our rights, the more likely that we're going to lose them," he said. " We need to start policing up our own actions, using common sense, in how we deal with others."

Attorney R. Mark Thomas, who represented the Muslim suspect, blamed Perce for the Halloween altercation. "The so-called victim was the antagonist," he told WHTM. "I think this was a good dressing down by the judge."

A blog post by the group American Atheists disagrees. "That a Muslim immigrant can assault a United States citizen,” it says, “in defense of his religious beliefs and walk away a free man, while the victim is chastised and insulted... is a horrible abrogation."

Watch The Situation Room with Wolf Blitzer weekdays at 4pm to 6pm ET and Saturdays at 6pm ET. For the latest from The Situation Room click here.

Muhammad never rose from the dead as zombie, only Jesus "did" that. the atheist should have read Quran before.

November 17, 2012 at 1:15 am |

Irma

Hey there just wanted to give you a quick heads up. The words in your contnet seem to be running off the screen in Internet explorer. I'm not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I'd post to let you know. The style and design look great though! Hope you get the issue resolved soon. Cheers

If the prosecution didn't prove his case, then this judge's remarks were completely irrelevant to the decision.

May 24, 2012 at 3:55 am |

smart phone

I like the helpful information you provide for your articles. I will bookmark your weblog and take a look at once more here regularly. I am slightly certain I'll learn many new stuff right right here! Best of luck for the following!

The CNN Belief Blog covers the faith angles of the day's biggest stories, from breaking news to politics to entertainment, fostering a global conversation about the role of religion and belief in readers' lives. It's edited by CNN's Daniel Burke with contributions from Eric Marrapodi and CNN's worldwide news gathering team.