John W. Weeks Bridge with clock tower over Charles River in Harvard University campus Boston
PHOTO: Shutterstock
John W. Weeks Bridge with clock tower over Charles River in Harvard University campus Boston
Now playing
02:14
Harvard freshman claims he was denied entry by immigration officials
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
PHOTO: MANDEL NGAN/POOL/AFP via Getty Images
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
Now playing
03:28
FBI chief refutes claims Antifa was at Capitol riot
nigeria kidnapped schoolgirls released Busari pkg intl ldn vpx_00000423.png
nigeria kidnapped schoolgirls released Busari pkg intl ldn vpx_00000423.png
Now playing
02:09
Tears of joy and relief as 279 Nigerian schoolgirls return home
New satellite images taken by Maxar show that North Korea sometime in the past year built a structure that may be intended to obscure entrances to an underground facility where nuclear weapons or nuclear weapons components are stored.
PHOTO: Courtesy Maxar
New satellite images taken by Maxar show that North Korea sometime in the past year built a structure that may be intended to obscure entrances to an underground facility where nuclear weapons or nuclear weapons components are stored.
Now playing
01:47
See images US intelligence claims is a secret weapons site
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
02:29
NYT: Third woman comes forward against Gov. Andrew Cuomo
PHOTO: Courtesy Penguin Random House
Now playing
01:00
These 6 Dr. Seuss books won't be published anymore
John King Magic Wall 0301
PHOTO: CNN
John King Magic Wall 0301
Now playing
03:00
US coronavirus numbers coming down, but not enough
FILE - In this Jan. 29, 2011 file photo, Saudi journalist Jamal Khashoggi speaks on his cellphone at the World Economic Forum in Davos, Switzerland. Saud Al-Mojeb, Saudi Arabia's top prosecutor, is recommending the death penalty for five suspects charged with ordering and carrying out the killing of Saudi writer Jamal Khashoggi. Al-Mojeb told a press conference in Riyadh Thursday, Nov. 15, 2018,  that Khashoggi's killers had been planning the operation since September 29, three days before he was killed inside the kingdom's consulate in Istanbul. (AP Photo/Virginia Mayo, File)
PHOTO: Virginia Mayo/AP
FILE - In this Jan. 29, 2011 file photo, Saudi journalist Jamal Khashoggi speaks on his cellphone at the World Economic Forum in Davos, Switzerland. Saud Al-Mojeb, Saudi Arabia's top prosecutor, is recommending the death penalty for five suspects charged with ordering and carrying out the killing of Saudi writer Jamal Khashoggi. Al-Mojeb told a press conference in Riyadh Thursday, Nov. 15, 2018, that Khashoggi's killers had been planning the operation since September 29, three days before he was killed inside the kingdom's consulate in Istanbul. (AP Photo/Virginia Mayo, File)
Now playing
02:52
3 names mysteriously removed from Khashoggi Intel report
Protesters take cover behind homemade shields as tear gas is fired during a demonstration against the military coup in Yangon on March 1, 2021. (Photo by STR / AFP) (Photo by STR/AFP via Getty Images)
PHOTO: STR/AFP/AFP via Getty Images
Protesters take cover behind homemade shields as tear gas is fired during a demonstration against the military coup in Yangon on March 1, 2021. (Photo by STR / AFP) (Photo by STR/AFP via Getty Images)
Now playing
02:16
Footage shows tear gas, flash bangs used on protesters in Myanmar
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
PHOTO: Seth Wenig/Pool/AP
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
Now playing
01:12
Gov. Andrew Cuomo responds to allegations of sexual harassment
 Psaki biden White House Khashoggi Saudi Arabia sotu bash vpx _00011629.png
PHOTO: CNN
Psaki biden White House Khashoggi Saudi Arabia sotu bash vpx _00011629.png
Now playing
03:42
Bash to Psaki: Why hasn't Saudi Arabia been held accountable for murder of Khashoggi?
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
04:04
NYT: Second former aide accuses Gov. Andrew Cuomo of sexual harassment
PHOTO: CNN Weather
Now playing
02:23
Over 25 million people under threat for severe storms and flash flooding
House Speaker Nancy Pelosi
PHOTO: House TV
House Speaker Nancy Pelosi
Now playing
02:52
House passes Biden's $1.9 trillion Covid-19 relief package
PHOTO: CNN
Now playing
02:54
'Biggest trial of my life': Landlord says eviction moratorium has drained her savings
Jeremy Lin
PHOTO: Getty Images
Jeremy Lin
Now playing
03:40
Ex-NBA star Jeremy Lin says he's been called 'coronavirus' on the court
covid-19 relief package house biden sot malveaux nr vpx _00000000.png
PHOTO: CNN
covid-19 relief package house biden sot malveaux nr vpx _00000000.png
Now playing
02:28
CNN's Joe Johns explains Biden's short speech as relief bill heads to Senate
(CNN) —  

The Harvard University student who was previously denied entry to the United States is now on campus for the school’s 2019 academic year, Harvard spokeswoman Rachael Dane said.

US Customs and Border Protection previously said Ismail Ajjawi was “deemed inadmissible to the United States based on information discovered during the CBP inspection.”

In a statement to CNN Monday, CBP said it “can confirm that on Monday September 2, Ismail Ajjawi overcame all grounds of inadmissibility and was admitted into the United States as a student on a F1 visa.” The agency did not provide details on how the case was resolved.

In a statement, Ajjawi’s attorney Albert Mokhiber called it “a classic sad tale with an exceptionally unique happy ending.” He thanked Harvard, the nonprofit organization AMIDEAST, the US Embassy in Beirut and the “outpouring of international media and popular support.”

“We are pleased that Ismail’s Harvard dream will come true after all. Ismail is a bright young man whose hard work, intelligence and drive enabled him to overcome the challenges that Palestinian refugee youth continue to face in order to earn a scholarship,” said Theodore Kattouf, the president and CEO of AMIDEAST, which awarded Ajjawi a scholarship.

When Ajjawi was initially denied entry into the US, Harvard’s newspaper, The Harvard Crimson, reported he was a “17-year-old Palestinian resident of Tyre, Lebanon.”

The Crimson’s report quoted from a written statement attributed to Ajjawi, in which the incoming student described his encounter with immigration officials at Boston’s Logan Airport.

According to the Crimson, Ajjawi said he was detained for eight hours before being turned away. During that time, he alleges, an immigration official asked him to unlock his phone and laptop and proceeded to search them for five hours. The Crimson said he was then asked questions about his friends’ social media activities.

According to the Crimson, Ajjawi alleged he was told that there were “political points of view that oppose the US” expressed by people he follows on social media.

After he was questioned, the Crimson reported, his visa was revoked and he was sent back to Lebanon.

The development came more than a month after Harvard’s President, Lawrence Bacow, wrote an open letter to Secretary of State Michael Pompeo and Acting Secretary of Homeland Security Kevin McAleenan expressing concern over the administration’s immigration policies and their effect on Harvard’s academic programs.

“Students report difficulties getting initial visas – from delays to denials,” Bacow wrote in July. International students and scholars, he wrote at the time, “are not just participants in the life of the university; they are essential to it.”

He criticized the visa and immigration process as “unpredictable and uncertain.”

CNN’s Madeleine Thompson contributed to this report.