SULAIMANIYAH, IRAQ (NYTIMES) - As the Taliban closed in on the Afghan capital, Kabul, in August, what had been a privileged education at the American University of Afghanistan suddenly became a dangerous liability.
Students and staff frantically searched for an escape route from a country that, with the withdrawal of US forces, would fall to the Taliban - a group that has described the US-funded university as a den of infidels and has shut schools and universities for girls and women.
Iraq, though, was not the first destination that came to the students' minds as a refuge.
"OK, now I'm leaving the Taliban behind," said Ms Mashall, 24, a master's student in information technology. "And now I'm going to face ISIS," she said, describing her concern and using the acronym for the Islamic State of Iraq and Syria (ISIS) when told her evacuation flight would end up in Iraq.
Those fears have proved unfounded for Ms Mashall and her classmates, who are among the first Afghan students to arrive at the American University of Iraq, Sulaimani.
It is located in the Kurdish city of Sulaimaniyah, a liberal metropolis dotted with parks, filled with cafes and restaurants, and considered the safest major city in Iraq.
The students said they realised as much when they arrived, welcomed in the middle of the night by the university's president and professors with bouquets of flowers to a campus with no high walls or security patrols.
So far, 109 young Afghans are studying in Sulaimaniyah, a portion of the 300 American University students that are ultimately expected to relocate there.
Many of the relocated students, traumatised by the loss of their homeland and haunted by worry over the families they left behind, are still in a state of shock and uncertain how to navigate life in a strange land.
On the university campus, a group of relocated students told their stories to The New York Times, speaking publicly for the first time since they were evacuated from Kabul. The Times is using only their first names and is not showing their faces in photographs to protect their families still in Afghanistan.
As the Taliban neared Kabul in August, Ms Neda, a business student who worked part time at the university, frantically fed student documents into a fire on the nearly empty campus. "We tried to burn all the contracts or documents so they couldn't find the students' names and addresses," she said.
The students and staff feared the Taliban would hunt them down along with their families and kill them.
"The Taliban came to an office I was working at," recalled Mr Murtaza, a law student who was later evacuated. "They wanted to beat us. They called us infidels and American spies."
That night in August, as Ms Neda burned papers, the foreign staff at the university had already been evacuated to a British-run security compound near the airport. For almost four hours Ms Neda and a handful of other Afghans threw student records into the fire.
And then it was time to leave for the British compound, in what would become a harrowing journey ending in what many of the students initially considered to be the dangerous destination of Iraq.
But the Afghan university's academic administrator knew better.
Vice-President Victoria Fontan had worked in Iraq and during the pandemic had collaborated with her counterpart in Sulaimaniyah on an online curriculum. When the Kabul university started searching for a place to relocate students, she thought of Iraq, and a network of powerful friends kicked into action.
President Barham Salih of Iraq, the founder of the university in Sulaimaniyah and himself a former refugee, pledged to take in up to 300 students and arranged for them to enter without visas or in some cases even passports.
The president of the Afghan university, Mr Ian Bickford, said 106 other students had been sent to the American University of Central Asia in Kyrgyzstan, and about 200 to other countries, including Pakistan and the United States.
Another 375 American University students are still in Afghanistan, along with many more staff and hundreds of alumni, Mr Bickford said. Many are in hiding.
Students in Afghanistan still have access to online courses led by teachers now living outside the country. But many of those students no longer have reliable access to the Internet or feel safe to connect, their former classmates said.
Some students, like Ms Neda, are still traumatised by their escape. The British security compound where she was sheltering with the university's foreign staff was taken over by the Taliban, who demanded money and vehicles before they let the occupants leave. Ms Neda was terrified that the Taliban, who later took photos and videos of everyone on the buses to the airport, would recognise they were not foreigners but Afghans.
When they finally arrived at the Kabul airport gate with the foreign staff, she said, British soldiers barred them from entering.
"They said, 'No, you guys are Afghans; you cannot go,' " Ms Neda said. She said they were kicked out of the airport and into an area controlled by the Taliban. "I was in a very bad situation because I had never seen the Taliban face to face."
Eventually, she made it onto a Qatari evacuation flight Aug 21, leaving in a sandstorm amid the chaos of foreign soldiers including Turks trying to control an airport overrun with people desperate to escape.
"The Turkish Army and American Army treated us in a very bad way," she said, wiping away tears. "I mean, it was my own country; it was my own land. But still they shouted at us."
Ms Neda did not tell her family she was going to Iraq because she knew they would worry. "All you hear about Iraq is the Islamic State and explosions," she said.
Mr Murtza, 22, a law student who was among those relocated, said he missed Kabul, even with its frequent electricity cuts. " I didn't feel safe around Kabul," he said. "But it was my hometown. It was my country. It was my soul, and it was my heart."