Mayor Bill de Blasio (D-New York City) told CNN Sunday that the Big Apple's version of sanctuary city policy is a "good model for the nation."

De Blasio said under his guidance, the city will contact federal authorities if one of the 500,000 illegal immigrants there is convicted of a weapons or violence-related charge, but not if they commit "lesser offenses".

Responding to President Trump's executive action that may revoke federal grant funding to cities like his, de Blasio said some of the policies he oversees in New York go back decades to Mayors Ed Koch's (D) and Rudy Giuliani's (R) terms.

Rob O'Neill: We Must Be Smart About Who We Let Immigrate to US

Gutfeld: If I Made an Action Film About President Trump

Pirro on Illegal Immigration: 'Law & Order is Back in the West'

"Any serious or violent crime, we are going to work with [immigration authorities]," De Blasio said, adding that otherwise, an immigrant who "went through a stop sign could be deported for that."

Anchor Jake Tapper noted that drunken driving and grand larceny are some of the offenses that reportedly will not lead to City Hall contacting the federal government.

De Blasio said such an immigrant would be put in contact with federal officials if that offense resulted in further "negative outcomes".

"[Trump's order is] very vague and filled with contradictions," he said, "we will go to court to have it stayed [if it is enforced]."

He also criticized Trump's order for noting the funds that would be revoked are allocated to homeland security and policing:

He's going to take anti-terror dollars from the biggest terror target in America, the mayor said.

What do you think? Let us know in the comments below.

VA Gov. McAuliffe Fires Back at Trump Order: 'This Is Not the USA We Know'

CAIR Planning Lawsuit Against Trump Over Immigration Ban

CO Business Turned Me Away Because of Trump Support, Woman Says