Get the latest from TODAY

Sign up for our newsletter
/ Source: TODAY
By Alexandra Zaslow

When President Obama is on your side, you know you're in the clear. But when Ahmed Mohamed was handcuffed and taken to the police station Monday after his teacher thought he brought a hoax bomb to school, he wasn't so sure.

The 14-year-old was excited to show his engineering teacher at MacArthur High School in Irving, Texas, his invention — which was a digital clock he made from a pencil case, but was quickly disappointed when his teacher reacted by calling the police.

"I wanted to start clean with the teacher by showing him my invention," Mohamed, who has won awards for his past inventions, told NBC affiliate NBC Dallas Fort Worth.

RELATED: Female engineers fight gender stereotypes with #ILookLikeAnEngineer

When it was announced Wednesday that he will not be charged, many took to Twitter and Facebook to share their thoughts — including Facebook creator himself, Mark Zuckerberg.

POTUS and Hillary Clinton also showed their support.

Questlove and U.S. Secretary of Education, Arne Duncan, tweeted at Mohamed using the hashtag #IStandWithAhmed, which became a worldwide trending topic.

Mohamed thanked all his supporters via Twitter using the hashtag they created.

Kevin Roden, who is on the city council in Denton, Texas, invited Mohamed to join the Texas Academy of Math and Science.

The hashtag #Engineersforahmed was also created for the high school freshman, who has dreams of becoming an engineer one day.

Google said it would save a seat for Mohamed at its science fair this weekend.

His family responded to the overwhelming support by using the hashtag #Thankyouforstandingwithme.