INDIANAPOLIS (AP) — A federal appeals court has upheld a lower court’s order blocking Indiana Gov. Mike Pence from barring state agencies from helping Syrian refugees resettle in the state.

A three-judge panel for the 7th U.S. Circuit Court of Appeals in Chicago on Monday agreed with an injunction a federal judge issued in February. The judge found Pence’s directive “clearly discriminates” against refugees from the war-torn nation.

READ MORE: Listen Live: Supreme Court Hears Arguments In Major Mississippi Abortion Case

The appeals court says federal law doesn’t allow a governor “to deport to other states immigrants he deems dangerous.”

READ MORE: Needle Found On Gas Pump Nozzle At Shell Gas Station In Chicago Ridge

Donald Trump’s running mate, Pence, was among dozens of governors from mostly Republican states who tried to block Syrian refugees after the Paris terror attacks last November.

Indianapolis-based Exodus Refugee Immigration, which helps Syrian refugees with medical and social services and job training, challenged Pence’s order.

MORE NEWS: Truck Stolen From Portage Park Car Dealership

(TM and © Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)