Glenn Beck, his television network and a conservative think tank have been dismissed from a defamation lawsuit filed by the father of Ahmed Mohamed, the Irving teen who became famous when he was arrested after bringing a homemade clock to school.

Irving Mayor Beth Van Duyne remains a defendant, but she has challenged the suit.

District Judge Maricela Moore on Monday tossed the claims against Beck and his network TheBlaze, plus those against the Washington, D.C.-based Center for Security Policy and executive vice president Jim Hanson.

Another judge also dismissed the local Fox News affiliate and political commentator Ben Ferguson from the suit in December. He ordered that the Mohameds pay them more than $82,000 in legal fees, records show.

The Mohameds seek up to $100,000 in damages, along with "nonmonetary relief." The family moved to Qatar in 2015 after the arrest. No charges were filed.

Mohamed Mohamed filed the defamation complaint in September, a year after police escorted his son out of MacArthur High School and accused him of making a hoax bomb. Mohamed argued that comments made by the mayor and media personalities led the public to think that members of his family were terrorists who plotted the episode.

{"type":"video","title":"Dallas News Video","author_name":"Dallas News","_id":"F4cTc3NTE6jh0Db7LFUFHdL-5OkyY4h3","provider_name":"Ooyala","html":"

","raw":"{\"type\":\"video\",\"title\":\"Dallas News Video\",\"author_name\":\"Dallas News\",\"_id\":\"F4cTc3NTE6jh0Db7LFUFHdL-5OkyY4h3\",\"provider_name\":\"Ooyala\",\"html\":\"\\u003Cdiv class=\\\"oo-vid-container\\\" data-oo-content-id=\\\"F4cTc3NTE6jh0Db7LFUFHdL-5OkyY4h3\\\"\\u003E\\u003C\\/div\\u003E\\u003Cscript defer src=\\\"http:\\/\\/www.dallasnews.com\\/resources\\/motif\\/dist\\/js\\/ooyala.js\\\"\\u003E\\u003C\\/script\\u003E\"}","providerType":"ooyala","providerLink":"http://www.dallasnews.com/oembed","embedType":"video"}

Beck and others targeted in the suit have sought refuge in a state law designed to quash frivolous defamation cases. In Texas, a defendant in a defamation suit can file a motion to dismiss within 60 days of being served by arguing that she was exercising free speech on a "matter of public concern." If the court agrees, then the plaintiff must show "clear and specific" evidence of defamation.

"Mr. Beck and TheBlaze are pleased at the court's faithful application of First Amendment principles pursuant to the Texas Citizen Participation Act, the very purpose of which is to protect freedom of speech by mandating the summary dismissal of unmeritorious defamation claims," Beck's attorney Michael J. Grygiel wrote in an email.

Hanson's national security think tank, which has been accused of being anti-Muslim by groups that monitor extremism, said in a news release that it was victorious in "defeating Sharia-Supremacism."

"This ruling reaffirms our most fundamental liberty — the right to free expression — and punishes Mr. Mohammed and his allies for attempting to suppress ideas they oppose," Hanson said in a prepared statement.

Susan Hutchison, an attorney for the Mohamed family, didn't return messages seeking comment.

Mohamed Mohamed challenged comments that Beck made during a show that aired on TheBlaze. The suit says the host offered the theory that the clock bomb story was part of a larger conspiracy, possibly to "turn Texas blue" politically.

Hanson, who was also sued, agreed with him, according to the suit. "I don't think there's any question that this latest event was a PR stunt," he said, adding that Ahmed Mohamed may have been a "pawn" of his father.

Van Duyne didn't correct the statements and repeatedly accused the teen of not being forthcoming with investigators, according to the suit. The Mohameds also told the court that Van Duyne lied by stating on TV that the family was "nonresponsive" to the city's requests to release information about the incident.

Deputy City Attorney Janet Spugnardi is representing Van Duyne. In a court filing, the attorney said Van Duyne has official immunity because she was acting as a government employee when she made the comments on TV.

"She was asked to appear on those shows as the mayor," Spugnardi said Tuesday.

Van Duyne raised her political profile in conservative circles by fanning a rumor that there was a Muslim court imposing Shariah law in Irving. As the rumor gained steam in 2015, she gave speeches to tea-party crowds about Muslims and media bias.

Like others in the defamation case, the mayor has summoned the Texas law that allows courts to quickly throw out suits without merit.

The court has not scheduled a hearing on Van Duyne's motion to dismiss, Spugnardi said.

Another defendant fighting the suit is political commentator Ben Shapiro, a former editor-at-large at the ultraconservative news outlet Breitbart.

The lawsuit blamed Shapiro and others for encouraging hostility against the teen.

"Ahmed Mohamed received not only hateful and vile comments, but threats of physical harm," it reads. "Comments made in response to the broadcast included angry and hostile reactions buying into the 'terrorist' label."

But attorneys representing the Washington think tank argued that Ahmed and his family exploited the media attention and turned it into a trip to the White House, an invitation to a Google science fair and college tuition money.