President Donald Trump's use of a 227-year-old wartime law to rapidly deport Venezuelan migrants is unlawful, a divided appeals court ruled Tuesday.

The move blocks a signature administration push that is destined for a final showdown at the U.S. Supreme Court.

A three-judge panel blocked the Trump administration from removing a group of Venezuelans under the seldom-used 18th-century law.