The Muslim teenager arrested when a Texas teacher mistook his homemade clock for a bomb is moving to Qatar, local media reported a day after Ahmed Mohamed visited the White House.

Mohamed, 14, became an overnight sensation after his sister tweeted a photo of the aspiring inventor standing in handcuffs while wearing a t-shirt with the USspace agency NASA’s logo last month.

His family was overwhelmed by offers to support Mohamed’s education and decided to move to Qatar after receiving a full scholarship for his secondary and undergraduate education, his father told the Dallas Morning News.

The son of Sudanese immigrants who live in a Dallas suburb, the young robotics fan brought in a home-made clock to impress a new teacher at MacArthur High School.

ahmed 1

Instead, he was accused of trying to scare people with a hoax bomb and escorted from the school in handcuffs.

President Barack Obama joined a surge of public support by congratulating theteen on his skills, in what was seen as a pointed rebuke to school and police officials amid accusations of Islamophobia.

“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,” Obama tweeted.

Invitations poured in from Facebook, Google, the United Nations and in the coming weeks Mohamed tweeted photos of visits to New York, Sudan, Qatar and Mecca.

On Monday night, Mohamed joined a group of students, teachers, scientists, astronauts and celebrities — including the “Myth Busters” and Bill Nye — for White House Astronomy Night.

“So happy, I can’t believe that I met the #president of the #unitedstates!!!” he tweeted, in all caps, alongside a photo which showed Obama hugging Mohamed.

Mohamed will join the Qatar Foundation’s Young Innovators Program, which he visited earlier this month.

“Qatar was a cool place to visit,” he said in a statement released to the Dallas Morning News Tuesday. “The teachers were great. I think I will learn a lot and have fun too.”