"Cool clock, Ahmed. Want to bring it to the White House?"

President Barack Obama sent out a tweet to the Muslim student who was arrested for bringing his homemade clock to school. It was mistaken for a bomb, according to Yahoo! News.

"We should inspire more kids like you to like science. It's what makes America great," Obama said in his tweet. Ahmed Mohamed, 14, took his clock to MacArthur High School in Irving, Texas, on Wednesday morning. It was a project he wanted to show off to his engineering teacher.

Mohamed was arrested when another teacher saw it and mistook it for a homemade bomb. Mohamed was held in a detention center, but not charged with any crime. The story caught fire on social media, inspiring the #IStandWithAhmed hashtag. It was enough to capture the attention of the President of the United States, who publicly extended an invitation to the young student.

Mohamed was interrogated by five police officers, who took him out of class in order to question him, Yahoo! News reported.They searched through his things, took his fingerprints and asked him to pose for mugshots. Ahmed spoke about it in a later interview.

"It made me feel like I wasn't human. It made me feel like a criminal," he said.

Because of the social media involvement, even Facebook creator Mark Zuckerberg was inspired to chime in. "Ahmed, if you ever want to come by Facebook, I'd love to meet you. Keep building," Zuckerberg said on his Facebook page.

Mohamed was also invited to the annual Astronomy Night, which is hosted by the White House every year, according to WTVR.

The White House Press secretary, Josh Earnest, said Astronomy Night will be held next month, and that Ahmed's teachers "failed him," according to The Daily Beast.

Mohamed's story even had international reach, as he was additionally invited to the Generator Science Show in Toronto by Candian astronaut Chris Hadfield.