MINNEAPOLIS (AP) — A Minnesota man charged with conspiring to help the Islamic State group was ordered held Thursday pending a detention hearing next week.

Abdirizak Mohamed Warsame, 20, of Eagan, made his initial appearance in federal court on one count of conspiracy to provide material support to a foreign terrorist organization and one count of providing such support.

Court documents allege Warsame, who was arrested Wednesday night, tried to help other young men from Minnesota's Somali community travel to Syria to fight for the Islamic State group. Nine others in that group were charged earlier.

Warsame gave a slight wave to family and friends gathered for his initial appearance. His relatives declined to comment as they left the courthouse.

During the hearing that lasted less than 10 minutes, U.S. District Judge Michael Davis asked Warsame if he had examined the charging document. He replied, "Not really."

Warsame was deemed qualified for a federal defender after telling the judge he had no assets and his only income was a $14-an-hour job at a private security company, Securitas.

Chief federal defender Katherian Roe represented Warsame at the hearing but said he would be assigned another lawyer going forward. Roe told the judge that he had testified before a federal grand jury, but she didn't give details.

Another hearing was set for Tuesday.

Securitas officials didn't immediately return a phone call Thursday seeking information on Warsame.

Court documents allege Warsame and others had planned to go to Syria by way of Mexico. According to an FBI agent's affidavit, one man who was planning to leave for Syria appointed Warsame to replace him as "emir," or leader, of the group.

"As the new emir, Warsame immediately encouraged those with passports and money to travel to Syria by the end of the upcoming summer," the affidavit said.

The document says Warsame gave another man $200 for an expedited passport application. Warsame also applied for a U.S. passport on an expedited basis but was denied. Warsame eventually obtained a passport in August 2014, the affidavit said.

One man booked a May 2014 flight from Minneapolis to Istanbul, Turkey, with the intention of going on to Syria, the document said. The day before the man was to leave, Warsame accompanied him and two others to a library where the man printed out his itinerary. The four then went shopping for items needed for travel, according to the affidavit. The man who planned to fly to Turkey was stopped at Minneapolis-St. Paul International Airport by FBI agents, who prevented him from boarding his flight.

By April 2015, the document says, Warsame changed his plan to travel via Mexico and instead planned to go with his family to East Africa, then either break free of them and travel from there to Syria, or wait in Somalia for a time when he believed the Islamic extremist al-Shabab group would join forces with the Islamic State group.

Five Minnesota men are scheduled to stand trial in May on charges including conspiracy to provide material support to a foreign terrorist organization and conspiracy to commit murder outside the U.S., which carries a maximum sentence of life in prison.

The men have been described as friends in Minnesota's Somali community who recruited and inspired each other to join the Islamic State. Some of them communicated with Islamic State members overseas, some took steps to get fake passports, and some played paintball to prepare for combat, prosecutors say.

Three other members of the group have already pleaded guilty to conspiracy to provide material support to a foreign terrorist organization and are awaiting sentencing. Authorities say the ninth is in Syria.

About a dozen Minnesota residents have traveled to Syria to join jihadist groups there since late 2013. In addition, more than 22 young men from Minnesota's Somali community have left the state since 2007 to join al-Shabab in Somalia.