Irving Mayor Beth Van Duyne has been dismissed from a defamation lawsuit filed by the father of a teen detained by police in 2015 for bringing a homemade clock to school that was mistaken for a bomb.

Irving Mayor Beth Van Duyne

The dismissal was granted Tuesday in a Dallas County district court days after the teen's father, Mohamed Mohamed, agreed to remove the mayor from the suit.

The suit claimed the defendants were responsible for libelous statements against Ahmed Mohamed who was 14 when he brought his homemade clock to Irving's MacArthur High School.

He was handcuffed, escorted out of the school, and accused of making a hoax bomb. No charges were filed, and Mohamed's family moved to Qatar in 2015.

Earlier this month, District Judge Maricela Moore dismissed from the suit Glen Beck, his network TheBlaze, and Jim Hanson, executive vice president of the conservative think tank Center for Security Policy.

Another judge also dismissed local Fox News affiliate KDFW-TV (Channel 4) and political commentator Ben Ferguson from the suit in December. Records show he ordered that the Mohamed family pay them more than $82,000 in legal fees.

That leaves political commentator Ben Shapiro, a former editor-at-large of Brietbart, as the sole defendant. A hearing on a motion to dismiss was set for Monday, however, the outcome is unclear.

The suit, filed in September 2016, accused Beck of offering the theory that the clock bomb story was part of a larger conspiracy, possibly to "turn Texas Blue." Hanson allegedly agreed with him, calling the teen a "pawn" of his father.

The suit accused Van Duyne of participating in the discussion without objecting to or correcting any of the statements, and accusing the teen of being uncooperative, which the lawsuit alleges was libelous.

"The Mohamed family are peaceful Muslims who have been falsely accused of being terrorists and engaging in a jihad," the suit states. "The correction must also be made that the arrest and suspension of Ahmed Mohamed was not a stunt and it was not pre-planned, staged or engineered by anyone, including [his father]."

The Mohameds seek up to $100,000 in damages, along with "nonmonetary relief."

The family has also sued the city of Irving and its school district in federal court, alleging that the teen's civil rights were violated. The case is pending.

Van Duyne climbed into the national spotlight in 2015 when she seized onto a rumor that there was a Muslim court imposing Shariah law in Irving.