Francesca Albanese, the UN special rapporteur on human rights in the Palestinian territories, arrived in Mexico on Saturday after Costa Rica denied her entry. She said she spent two nights at the international airport in San Jose, Costa Rica’s capital, after immigration authorities barred her from entering on Thursday night.

Albanese said she had been awake for nearly 50 hours when she boarded her flight on Saturday. She was traveling to San Jose at the invitation of the University of Costa Rica, which was set to award her an honorary doctorate for her human rights work.

Costa Rican immigration authorities said Albanese was the subject of an “alert” over alleged ties to terrorism and that her presence posed a national security risk. In an acceptance speech delivered by video link from the airport terminal, where she sat on the floor, she said: “I am deeply indignant that the government of Costa Rica has spread false information that links me to terrorism,”

“Goodbye, for now. I will return, I promise, when Costa Rica is free again,” Albanese wrote on X on Saturday morning. At the airport in Mexico City, she told supporters she was sad to have been stuck at an airport for a day and half under “difficult conditions.”

“I know that in this region pressure from neighbors is very strongly felt,” Albanese said in the presence of pro-Palestinian supporters at the airport. In a post on Friday, she wrote: “Defending human rights is not terrorism.”

Albanese, an Italian legal scholar, is not a UN official. The UN Human Rights Council appointed her in 2022 to monitor and report on human rights conditions in the Palestinian territories. She has been an outspoken critic of Israeli policies in Gaza, and her statements have sparked controversy. Last year, her office called on dozens of multinational companies to stop doing business with Israel.

The US sanctioned Albanese soon after that report. US Secretary of State Marco Rubio described her actions as a “campaign of political and economic warfare against the United States and Israel.” Albanese has accused Israel of committing genocide against Palestinians; Israeli officials have denied the allegations.

The Israeli military retaliation in Gaza following the Hamas-led October 7, 2023, attacks on Israel has killed more than 74,000 Palestinians, according to Gaza’s Health Ministry. Food, water and humanitarian aid were cut off, leading to widespread suffering in the territory. Hamas’ surprise attacks on communities in southern Israel killed more than 1,200 people, and 251 others were taken hostage. A majority of Western governments, including the European Union and the US, have classified Hamas as a terror organization.

UN human rights chief Volker Turk said he was “deeply concerned” and had urged Costa Rica on Friday to allow Albanese into the country. The Costa Rican government maintains strong ties with Washington and has sought closer diplomatic and trade ties with Israel.