For Ismail Ajjawi, this should be orientation week. A Palestinian student living in Lebanon, Ajjawi was awarded a scholarship to Harvard University in Cambridge, Massachusetts by AMIDEAST, a nonprofit organization founded in 1951 with the goal of providing cross-cultural and educational opportunities for those in the Middle East, North Africa, and the United States. But Ajjawi isn’t in Cambridge; he’s back in Lebanon.

According to a letter he sent the campus paper, The Harvard Crimson, when Ajjawi arrived at Boston Logan International Airport on Friday, he and a group of fellow international students were stopped by immigration officers. While the rest of the students were eventually cleared and allowed to enter the United States, Ajjawi was held back and questioned about his religion. He was then asked to unlock and turn over his phone and computer.

After detaining him and reviewing his electronics for several hours, officers, Ajjawi wrote, proceeded to berate him because of social media posts they found on his phone—not posts written by Ajjawi, but ones that were written by others and simply appeared on his timeline.

When I asked every time to have my phone back so I could tell them about the situation, the officer refused and told me to sit back in [my] position and not move at all. After the 5 hours ended, she called me into a room , and she started screaming at me. She said that she found people posting political points of view that oppose the US on my friend[s] list.

Currently, the only Twitter account found associated with Ajjawi’s name follows only the accounts of WWE wrestlers; there are a multitude of Facebook accounts sharing the name, none identifiably belonging to Ajjawi.

Ajjawi was ultimately allowed to call his parents before immigration officials canceled his student visa and put him on a plane back to Lebanon. When contacted by the Crimson and other news outlets, U.S. Customs and Border Protection spokesperson Michael McCarthy offered only the following vague explanation for Ajjawi’s deportation: “This individual was deemed inadmissible to the United States based on information discovered during the CBP inspection.”