NEW ORLEANS (AP/1080 KRLD) – A federal appeals court in New Orleans is set to hear arguments over a Texas law cracking down on sanctuary cities.

The Texas Legislature approved the law in the spring. It was challenged by several Texas city governments and civil rights advocates. It requires local law enforcement agencies to honor federal immigration requests to detain people in local jails for possible deportation.

READ MORE: Pavelski Reaches 400 Career Goals As Stars Beat Avalanche 3-1

Opponents go before the 5th U.S. Circuit Court of Appeals on Tuesday afternoon, seeking to block the law. Texas officials will argue in favor of the law.

The law also allows police to inquire about people’s immigration status during routine interactions such as traffic stops. It subjects some law enforcement officials with removal from office and criminal charges for not complying with federal detainer requests.

READ MORE: Small Business Saturday Offers North Texans Another Day Of Deals And Steals

Celina Moreno with the Mexican American Legal Defense Fund says other parts of the law are also unconstitutional. She adds the law makes the immigrant community afraid to ask police for help.

Texas Attorney General Ken Paxton says enforcing the law will help keep dangerous criminals from being released.

MORE NEWS: TCU Falls 48-14 To Iowa State

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed. The staff of 1080 KRLD-AM contributed to this report.)