Oct. 21 (UPI) -- Pro-Palestinian activist Mahmoud Khalil must wait several days or weeks for a federal appellate court to decide whether the federal government can detain him while he appeals a deportation order.

Khalil and his legal team argued against his continued detainment before the appellate court on Tuesday after a federal district court ruled the federal government must release him from custody while he appeals his deportation order.

"They know they don't have a case against me," Khalil told media after Tuesday's hearing.

"We will keep fighting the legal fight until the end," he added. "And we are fairly confident that we will prevail at the end."

Related