A high school football player who has been in the U.S. since he was a toddler was in custody for possible deportation to his native Mexico after being pulled over for a traffic stop, prompting a walkout and protest Monday by classmates outside an Arizona sheriff's office.

Thomas Torres, who is scheduled to graduate May 22 from Desert View High School, in Tucson, was at a federal holding facility in Casa Grande, Arizona, according to the family he has been living with. Now, he is scheduled to appear in immigration court on that date.

Lorena Rodriguez said Torres had lived for years at her family's home, where he shared a room with her brother, who also is set to graduate. Their caps and gowns are already hanging in the bedroom closet.

Get Breaking News Delivered to Your Inbox

Torres' detention, coming shortly before a major rite of passage in the only country he remembers, is a stark example of the Trump administration's crackdown on illegal immigration.

Students from Desert View High School, in Tucson, Arizona, protest outside sheriff's office on May 6, 2019 in support of classmate Thomas Torres, Mexican native being held for possible deportation after being detained during traffic stop KOLD-TV

Rodriguez, who launched a GoFundMe page to raise money for Torres' legal costs, said the young man was a toddler when his relatives brought him from Mexico in search of a better future. She said his parents had long since returned to Mexico, leaving him alone in the U.S., and he had lived with her family throughout high school.

"People like Thomas are needed in this country," Rodriguez wrote on the fundraising site. "He's a hardworking young man willing to better his future."

Torres played on the Desert View High School football team and regularly worked several jobs, including busing tables at a restaurant and yardwork, friends said.

Although deportation proceedings involving high school students who have reached adulthood are not uncommon, the outpouring of support from Torres' classmates seemed unusual. A large portion of the population in Tucson's southern district, where the school is located, is Mexican-American.

Torres' classmates left class and marched about 4 miles from the school to the sheriff's office to demand his release, reports CBS Tucson affiliate KOLD-TV. They also called on all law enforcement agencies to not collaborate with immigration authorities.

"Thomas is the American Dream," said one of the many homemade signs carried by students protesting outside the sheriff's office. Other signs read, "Abolish the Border Patrol" and "Without Justice, There is No Peace."

Torres was taken into custody Thursday after a traffic stop by sheriff's deputies and turned over to Border Patrol, said Victor Mercado, a spokesman for the Sunnyside Unified High School District.

Border Patrol spokeswoman Meredith Mingledorff confirmed Monday that Torres is in federal custody and faces immigration charges after the agency was contacted by the Pima County Sheriff's Department (PCSD).

Rodriguez said Torres told her family he was unable to produce a driver's license when he was stopped by sheriff's deputies. Arizona doesn't issue licenses to people who are in the country without authorization.

The sheriff's office said Monday that a deputy stopped the car Torres was driving to check whether the insurance was up to date. The agency said in a news release that when Torres didn't produce a license, he told authorities he was in the country illegally and the deputy contacted the Border Patrol. There was no information on where Torres was when he was stopped.

According to KOLD-TV, The PCSD said it supports the students' rights to exercise their First Amendment rights.

"Sheriff (Mark) Napier would like to thank the school administration for being present and commends the students on their peaceful protest," the PCSD said in a news release. "Through observation, the Sheriff's Department identified two members of CLEPC as potential organizers of the protest."

The Community Law Enforcement Partnership Commission is a group that has fought against the PCSD getting a federal grant called Operation Stonegarden.

The grant, about $1.5 million per year, was used by the Sheriff's Department to buy equipment, pay overtime and to patrol the county's vast remote areas.

The PCSD applied for and received the grant for years, until the Pima County Board of Supervisors voted to reject the grant in 2018.

At the time, the CLEPC and the board said they were worried about using federal money to fund immigration patrols.

Sheriff Napier has repeatedly said it was a political move and a statement against President Trump's immigration policies.

Sheriff Napier has asked for the grant to be reinstated before.

The Board of Supervisors was expected to take up the issues during a Tuesday morning meeting.

A federal judge ruled in the 1990s that the Border Patrol violated the civil rights of Hispanic students and staff at an El Paso, Texas, high school by stopping them at the school without good cause to determine their citizenship. Bowie High School is just a few yards from the U.S.-Mexico border.