FARMINGTON HILLS, Mich. (AP) Federal agencies have pushed back against criticism that they entrapped hundreds of foreigners who enrolled in a fake school the agencies opened in an effort to fight visa fraud, saying those who enrolled knew they werent signing up for a real school and that they only wanted a way to stay in the U.S.

The undercover operation that targeted students at the University of Farmington in Farmington Hills was legal and helped combat visa fraud, the U.S. attorney for the Eastern District of Michigan and head of the U.S. Immigration and Customs Enforcements investigative division in Detroit said Friday instatementsto the Detroit Free Press.

HSI special agents, as part of this undercover operation, made it abundantly clear in their interactions with potential University of Farmington enrollees that the school did not offer academic or vocational programs of any kind. The individuals who enrolled in the University of Farmington did so intentionally, said Vance Callender, special agent in charge of the Detroit office of ICEs Homeland Security Investigations, or HSI.

The students arrived in the U.S. legally, primarily from India, and were on F-1 student visa programs when they enrolled at the university that was covertly staffed by undercover agents and had a fake website. Nearly 80% of the 250 students who were arrested have voluntarily left the country, according to ICE.

Lawyers for the students have said they believe their clients were entrapped and did not know the school was fake when they enrolled.

In January, federal prosecutors announced thatICE agents had secretly set upthe fake university, which enrolled more than 600 foreign students studying science and technology. The Department of Justice referred to it as a pay to stay scheme.

The Free Press reportedin November that the number of students who had been arrested on immigration infractions in the case had jumped to 250. The story drew widespread attention and several political leaders criticized or raised questions about the sting. Among the critics were several congressional Democrats, including Rep. Elissa Slotkin of Michigan, Rep. Alexandria Ocasio-Cortez of New York, Sen. Kamala Harris of California and Sen. Elizabeth Warren of Massachusetts, who is running for president .

This is cruel and appalling, Warren tweetedabout the sting. These students simply dreamed of getting the high-quality higher education America can offer. ICE deceived and entrapped them, just to deport them.

The case raises a number of serious questions, and Ill be following up to ensure they are answered,Slotkin saidon Saturday.

The No. 1 job in America that requires no experience pays $100,000 a year and its NOT in Silicon Valley

Meet the lawyer at the center of the Trump universe

These 21 states are raising their minimum wage for 2020

Trumps proposed Social Security disability cuts could end benefits for thousands. What to know

PHOTOS: The provocative new book Independent Mysteries explores the sense of intimate distance

Actor playing Aladdin pops the question to Jasmine in viral onstage proposal

Legal marijuana sales may spark Midwest interstate tension

Department of Homeland Security proposes mandatory airport face-scan

Heres what experts say 2020 may look like for the markets

PHOTOS: The 93rd Macys Thanksgiving Day Parade

Doctor sues hospital after he is charged in 25 deaths

Police officer tears up after receiving tribute to his late K-9 partner

Income inequality and race affect homeownership rates

FAA is concerned it was misled about Boeings 737 Max safety: Report

Why Robinhoods latest salvo in the broker wars is good but not groundbreaking

PHOTOS: Presidential turkey pardons a look back

WH releases info on call with Putin after Russia does

Brooke Shields, 54, wows fans with gravity-defying ab workout: Youre making us 50s gals proud!

Merck CEO Kenneth Frazier on vaccines: We have to counter misinformation

My husbands kids hate me and didnt come to our wedding, yet hes leaving them all his money. How can I secure my future?

PHOTOS: Past and present balloons of Macys Thanksgiving Day Parade

5 people stabbed at N.Y. Hanukkah celebration