An illegal immigrant pizza deliveryman from Brooklyn will be able to stay in the United States - at least for now.

A nonprofit group has won an emergency stay for Pablo Villavicencio, who will remain in the custody of Immigration and Customs Enforcement while his case is heard, WABC-TV reported on Saturday.

The Legal Aid Society will continue to represent Villavicencio in an effort to prevent him from being kicked out of the country.

Villavicencio could be spared deportation if he can show his American wife would suffer' extreme hardship' without him.

He was detained when he made a delivery to Fort Hamilton army base on Friday and was asked for a second form of ID.

But lawyers said the Ecuadorian who was on the run from ICE since 2010 could still manage to stay.

Sandra Chica, an American citizen who is married to an undocumented migrant, Pablo Villavicencio, is seen above with their two young daughters

Villavicencio, an undocumented pizza delivery man was detained by Immigration and Customs Enforcement (ICE) as he delivered catering to an Army base in Brooklyn on Friday

New York City Council Member Carlos Menchaca, Chair of the council's Immigration Committee, speaks at a news conference about Villavicencio outside the offices of ICE in New York on Friday

Legal Aid Society lawyer Jennifer WIlliams, who represents Villavicencio, shows the Application for Stay of Deportation or Removal she filed at ICE offices in New York on Friday

He married to Sandra Chica, 38, a naturalized American citizen, five years ago and has two young daughters aged three and four.

Villavicencio could therefore get a green card, which he has already applied for, but the legal process may be long and arduous.

He would have to get a waiver as people who have spent more than a year in the U.S. illegally can't re-enter for a decade.

'I can only imagine what Ms. Chica is experiencing at the moment,' said Jennifer Williams, a Legal Aid attorney.

'Not to have your husband come home one day, the sole provider... It’s heart-wrenching.'

To do that he would need to show his wife would suffer 'extreme hardship' without him, which Ray Fasano, former chair of the Federal Bar Association's immigration law said would be a 'cake walk'.

'They've got two little kids, so she'd have to struggle as a single mom,' he told the New York Post.

However, former government immigration lawyer Kerry Bretz said this was a 'very high standard' to fulfill and Villavicencio's case may not be strong enough.

'It has to be something more than financial and emotional… it's almost always a serious medical condition. That's almost always the way you're able to demonstrate that hardship.' he said.

Stopping his deportation would also require him to prove 'extreme hardship' to Ms Chica or convince ICE officials to just let him out.

Villavicencio is shown here with his daughters in a photo shared to Facebook on March 9

Should he pull this off he would only need to go back to Ecuador for a few weeks to do his interview and finish the application.

But if he was deported he would have to take the much more difficult route of applying from his birth country.

Villavicencio would also need to have only crossed the border illegally once, as multiple crossings make it almost impossible to get a spousal green card.

'You're better off having a criminal history,' Mr Bretz said.

Villavicencio was arrested after guard at the Fort Hamilton gate asked him to produce more than an IDNYC card, an official form of identification recognized in New York City.

'I have been there before and always go in and never have had any problems. They actually know me and the sergeant knows me for some time doing delivery,' he said.

A GoFundMe page to cover his legal expenses and help his wife and children has so far raised $28,000 in four days.

New York Governor Andrew Cuomo expressed 'deep frustration with the federal government's assault on New York's immigrant families' and secured Villavicencio free legal help.

'It's cruel that they're going to separate my daughters from him,' Ms Chica, a part-time medical assistant, said.

'He'a supporting the family and now I'm going to be by myself with them.'

The trouble for Villavicencio, who had been living with his family in Long Island, started because a new soldier was at the gate that day.

'Last Friday there was a different security guard and he told me I needed to go get another pass to enter,' Villavicencio said.

'And I proceeded to do that. A tall man with dark skin started to ask me many questions. He asked me about why I didn't have any social security card.

The trouble for Villavicencio, who had been living with his family in Long Island, started because a new soldier was at the gate at Fort Hamilton Army base that day

'He called the NYPD and the NYPD told him I didn't have any record, that I was clean. But the man said, 'I don't care.' He said I need to keep waiting and he called ICE.'

A spokesperson for Fort Hamilton said that when Villavicencio couln't produce a Department of Defense- issued identification card, he was instructed to secure a day pass.

At that point, the woman said, he signed a waiver for a background check, and 'an active Immigration and Customs Enforcement warrant was discovered on file.'

According to an ICE spokesperson, the pizza delivery man was ordered by a judge to leave the country in 2010, and has been a 'ICE fugitive' ever since.

The manager at Nonna's Deli in Queens, which is the pizza place where Villavicencio works, only said, 'He was a great worker.'

Bay Ridge Councilman Justin Brannan and Brooklyn Borough President Eric Adams demanded Villavicencio's release during a press conferenced held with Chica on Wednesday.

'Is our city or our nation any safer now that Pablo the pizza delivery man is off the streets?' Brannan asked. 'It's insane — the message it sends is scary and ridiculous.'

New York City Councilman Carlos Menchaca slammed the actions of ICE on Friday.

'What happened at the base in Brooklyn really shows the rogue nature of the deportation machine and its agents,' he said, while urging other elected officials to 'stand with Pablo.'