Task: Translation
Input (Chinese): 该法案允许拘捕涉嫌恐怖主义的外国人，该法案在2004年因其歧视性被废除。
Output (English): This act allowed foreign nationals suspected of terrorism to be detained, before being repealed in 2004 due to its discriminatory nature.