ST. LOUIS (AP) — One of three American students arrested during protests in Cairo described his first hours in custody as "probably the scariest night of my life ever," saying they were hit, forced to lay in fetal positions and threatened with guns. Derrik Sweeney, 19, spoke with The Associated Press shortly after arriving at St. Louis' international airport late Saturday night. He was arrested a week ago along with 19-year-old Gregory Porter and 21-year-old Luke Gates on the roof of a university building near Cairo's Tahrir Square. Officials accused the young men of throwing firebombs at security forces fighting with protesters, but Sweeney said he and the other Americans "never did anything to hurt anyone." "The first night was probably the scariest night of my life ever. I was not sure I was going to live. They said if we moved at all, even an inch, they would shoot us. They were behind us with guns," Sweeney said. But he said conditions in custody markedly improved after the opening night's ordeal when they three were moved to some other "legitimate" prison or jail. He didn't elaborate on who he believed was holding him the opening night but he called the treatment humane in the ensuing days.. "There was really marked treatment between the first night and the next three nights or however long it was. The first night, it was kind of rough. They were hitting us; they were saying they were going to shoot us and they were putting us in really uncomfortable positions. But after that first night, we were treated in a just manner — as a prisoner — we were given food when we needed and it was OK after that first night." After that first night in cudstody, he and the other students were treated in "a just manner" and given food when they needed it and allowed contact with a U.S. embassy official, Sweeney added. An Egyptian court ordered the students' release Thursday, and they were on flights out of Cairo two days later. Porter and Gates also arrived back in their home states late Saturday, all greeted by anxious family members. "I'm not going to take this as a negative experience. It's still a great country," Gates, his parents wrapping their arms around him, said shortly after getting off a flight in Indianapolis. The protests have been ongoing since Nov. 19, in anticipation of the landmark parliamentary elections in Egypt due to start Monday. On Friday, the crowd grew to more than 100,000 people. Porter also was met by his parents and other relatives earlier Saturday evening when he landed at Philadelphia International Airport. Porter took no questions, but said he was thankful for the help he and the other American students received from the U.S. Embassy in Cairo, administrators at the university they were attending, and attorneys in Egypt and the United States. "I'm just so thankful to be back, to be in Philadelphia right now," said Porter, who is from nearby Glenside, Pennsylvania, and attends Drexel University in Philadelphia. All three left the Egyptian capital Saturday morning on separate connecting flights to Frankfurt, Germany, an airport official in Cairo said. The three were studying at American University in Cairo. Joy Sweeney said staff at the school packed her son's bags because he wasn't allowed to return to his dorm room. Waiting for her son had been grueling, she said shortly before he arrived, but she was grateful he would be home before the holiday weekend was over. "He still hasn't processed what a big deal this is," she told the AP shortly before her son arrived at the airport. "He has been in isolation. He doesn't have a clue as to what's going on." She said she was trying not to dwell on the events of the last week and was ecstatic that her son, a student at Georgetown University in Washington, was coming home. The family is from Jefferson City, Missouri, about 130 miles (210 kilometers) west of St. Louis. Earlier in the week, she talked about how she put a Thanksgiving celebration on hold because the idea seemed "absolutely irrelevant" while her son still was being held. "It's been an emotional rollercoaster. I mean, I don't know how to describe it other than that," she said Saturday night. "But I never looked at the worst-case scenario." ___ Matheson reported from Philadelphia. Associated Press photographer Michael Conroy contributed to this report from Indianapolis. AP writers Maggie Michael in Cairo; Andale Gross and Erin Gartner in Chicago; Sandy Kozel in Washington; Rick Callahan in Indianapolis; and Maryclaire Dale in Philadelphia also contributed.