Updated at 7:30 p.m. to include response from Irving ISD

A federal judge has dismissed a lawsuit filed against Irving ISD, the city of Irving and several individuals by the father of a teen who was arrested after bringing to school a homemade clock that was mistaken for a bomb.

The federal lawsuit had alleged that Ahmed Mohamed's civil rights were violated in September 2015 when Irving police officers took him into custody at MacArthur High School and charged him with making a "hoax bomb." The then-14-year-old was also suspended from school for three days.

The charge against Ahmed was later dropped. The boy and his family have since moved to Qatar.

The suit, filed by Mohamed Elhassan Mohamed on behalf of his son, had asked for unspecified damages. It had been amended twice since it was initially filed in August 2016.

U.S. District Judge Sam Lindsay on Tuesday ordered that the suit be "dismissed with prejudice" and that "all relief requested by plaintiff is denied."

Lawyers for Ahmed Mohamed did not return calls for comment Wednesday.

In a statement released Wednesday, the city of Irving said that it is "extremely pleased by the court's ruling, which supports the justifiable actions taken by the officers in the matter. We remain committed to ensuring the safety of all Irving residents and schoolchildren."

Katie Long, the attorney for Irving ISD, said in an emailed statement that the district was "pleased the court had dismissed the case in its entirety" and that it had recognized that there was no basis to the claim that "Irving Independent School District or any employee discriminated against this student on the basis of race or religion."

"The Court's Order confirms that there is no plausible claim that Irving ISD or its employees violated anyone's constitutional rights. Irving ISD is committed to the safety, well-being, and equality of all students," the statement said.

Ahmed Mohamed supporters hold #IStandWithAhmed L.E.D. signs at a rally at MacArthur High School in Irving on Sept. 17, 2017. (Ron Baselice / Staff Photographer)

White House invitation

The hubbub over Ahmed began after he was handcuffed by police and escorted out of the school after his homemade digital clock was confiscated by an English teacher. Officers then questioned the teen about his apparatus, which they described as a "hoax bomb."

Details and images of Ahmed's arrest set off an international frenzy and support for the youngster, leading to the creation of the hashtag #IStandWithAhmed. The matter caught the attention of many influential people, including former President Barack Obama, who invited Ahmed to bring his "cool clock" to the White House.

White House officials also extended the teen an invitation to speak with NASA scientists and astronauts.

Cool clock, Ahmed. Want to bring it to the White House? We should inspire more kids like you to like science. It's what makes America great. — President Obama (@POTUS44) September 16, 2015

Former Irving Mayor Beth Van Duyne took to Facebook after the boy's arrest to defend the actions of the school district and police, saying their daily work helped make Irving "one of the safest cities in the country."

Van Duyne, who now works in President Donald Trump's administration, later amended her post to acknowledge she would have been "very upset" if the same thing had happened to her own child.

Two months after Ahmed's arrest, the family's attorney sent letters to city and school officials that demanded they apologize and pay $15 million to stave off a lawsuit.

Ahmed's father filed a federal suit against Irving and Irving ISD a year after his son was arrested, alleging they had violated the boy's civil rights. That suit was dismissed in May 2017. The family refiled the suit, and that was dismissed Tuesday.

Irving resident Ahmed Mohamed, 14, talked to the media in September 2016 about the homemade clock he built and his acceptance of an invitation to visit the White House. (Ron Baselice / Staff Photographer)

'Threats of physical harm'

The family also filed a defamation lawsuit against conservative commentator Glenn Beck, his TV network, TheBlaze, Fox News and Van Duyne, claiming they had fostered hostility against the teen.

The suit sought up to $100,000 in damages as well as "nonmonetary relief" for comments made by Van Duyne and media personalities that the suit argued made the public think that members of the youngster's family were terrorists who staged the clock incident.

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

Van Duyne was dismissed from the suit in January 2017. Claims against Fox were also dismissed. Beck and his network reached an undisclosed settlement with the family in October.

'Clock boy' timeline:

Sept. 14, 2015: Ahmed Mohamed, 14, is arrested and suspended from MacArthur High School in Irving after bringing an alarm clock to school that was mistaken for a bomb.

Sept. 16, 2015: Former Irving Police Chief Larry Boyd announces that charges won't be filed against Ahmed.

Sept. 23, 2015: Ahmed and his two younger siblings are withdrawn from Irving ISD by their parents. The family hires legal counsel to get his homemade clock back.

October 2015: Ahmed's family announces it will move from Irving to Qatar.

December 2015: The U.S. Department of Justice launches a civil rights investigation into allegations of harassment and possible religious discrimination in Irving ISD.

Aug. 8, 2016: Mohamed Elhassan Mohamed, Ahmed's father, files a suit seeking "monetary and injunctive relief" against the city of Irving, Irving ISD and McArthur High School principal Daniel Cummings. The lawsuit alleged Ahmed's civil rights were violated in September 2015.

May 19, 2017: A federal judge dismisses a lawsuit filed against Irving ISD, the city of Irving and others by Ahmed. The suit is refiled.

Tuesday: A federal judge dismisses, "with prejudice," the lawsuit against Irving ISD, the city of Irving and several others filed by Ahmed's father.