No charges will be filed against a Texas ninth grader who left school in handcuffs on Monday after he brought in a homemade clock to show his teacher.

Teachers at MacArthur High School called police when they thought the clock that 14-year-old Ahmed Mohamed built was actually a bomb.

When Ahmed showed the clock to his engineering teacher, the teacher reportedly told him it was “really nice” but advised him not to show it to other teachers. Ahmed kept it in his school bag, but showed it to another teacher after the alarm beeped in the middle of class.

That teacher kept the clock, and Ahmed was subsequently pulled out of his sixth-period class and questioned by police.

Ahmed told the Dallas Morning News that an officer whom he hadn't previously met remarked, “Yup, that’s who I thought it was.”

Ahmed was led out of school in cuffs. This afternoon, authorities announced that police would not file charges.

“He just wants to invent good things for mankind,” Ahmed’s father told the Dallas Morning News. “But because his name is Mohamed and because of Sept. 11, I think my son got mistreated.”