diately following the end of the prior 2-year designa-
tion or redesignation period unless a different effec-
tive date is provided in such redesignation.’’;
(8) in paragraph (6)(A)—
(A) by inserting ‘‘or a redesignation made
under paragraph (4)(B)’’ after ‘‘paragraph
(1)’’;
(B) in clause (i)—
(i) by inserting ‘‘or redesignation’’
after ‘‘designation’’ the first place it ap-
pears; and
(ii) by striking ‘‘of the designation’’;
and
(C) in clause (ii), by striking ‘‘of the des-
ignation’’;
(9) in paragraph (6)(B)—
(A) by striking ‘‘through (4)’’ and insert-
ing ‘‘and (3)’’; and
(B) by inserting at the end the following
new sentence: ‘‘Any revocation shall take effect
on the date specified in the revocation or upon
publication in the Federal Register if no effec-
tive date is specified.’’;
(10) in paragraph (7), by inserting ‘‘, or the
revocation of a redesignation under paragraph (6),’’
after ‘‘paragraph (5) or (6)’’; and
(11) in paragraph (8)—
(A) by striking ‘‘paragraph (1)(B)’’ and
inserting ‘‘paragraph (2)(B), or if a redesigna-
tion under this subsection has become effective
under paragraph (4)(B)’’;
(B) by inserting ‘‘or an alien in a removal
proceeding’’ after ‘‘criminal action’’; and
(C) by inserting ‘‘or redesignation’’ before
‘‘as a defense’’.
SEC. 412. MANDATORY DETENTION OF SUSPECTED TER-
RORISTS; HABEAS CORPUS; JUDICIAL RE-
VIEW.
(a) IN GENERAL.—The Immigration and Nationality
Act (8 U.S.C. 1101 et seq.) is amended by inserting after
section 236 the following:
‘‘MANDATORY DETENTION OF SUSPECTED
TERRORISTS; HABEAS CORPUS; JUDICIAL REVIEW
‘‘SEC. 236A. (a) DETENTION
OF
TERRORIST
ALIENS.—
‘‘(1) CUSTODY.—The Attorney General shall
take into custody any alien who is certified under
paragraph (3).
‘‘(2) RELEASE.—Except as provided in para-
graphs (5) and (6), the Attorney General shall main-
tain custody of such an alien until the alien is re-
moved from the United States. Except as provided
in paragraph (6), such custody shall be maintained
irrespective of any relief from removal for which the
alien may be eligible, or any relief from removal
granted the alien, until the Attorney General deter-
mines that the alien is no longer an alien who may
be certified under paragraph (3).
‘‘(3) CERTIFICATION.—The Attorney General
may certify an alien under this paragraph if the At-
torney General has reasonable grounds to believe
that the alien—
‘‘(A) 
is 
described 
in 
section
212(a)(3)(A)(i), 
212(a)(3)(A)(iii),
212(a)(3)(B), 
237(a)(4)(A)(i),
237(a)(4)(A)(iii), or 237(a)(4)(B); or
‘‘(B) is engaged in any other activity that
endangers the national security of the United
States.
‘‘(4) NONDELEGATION.—The Attorney General
may delegate the authority provided under para-
graph (3) only to the Commissioner. The Commis-
sioner may not delegate such authority.
‘‘(5) COMMENCEMENT OF PROCEEDINGS.—The
Attorney General shall place an alien detained under
paragraph (1) in removal proceedings, or shall
charge the alien with a criminal offense, not later
than 7 days after the commencement of such deten-
tion. If the requirement of the preceding sentence is
not satisfied, the Attorney General shall release the
alien.
‘‘(6) LIMITATION
ON
INDEFINITE
DETEN-
TION.—An alien detained under paragraph (1) who
has not been removed under section 241(a)(1)(A),
and whose removal is unlikely in the reasonably fore-
seeable future, may be detained for additional peri-
ods of up to six months if the release of the alien
will not protect the national security of the United
States or adequately ensure the safety of the com-
munity or any person.
‘‘(b) HABEAS CORPUS AND JUDICIAL REVIEW.—
‘‘(1) IN GENERAL.—Judicial review of any ac-
tion or decision relating to this section (including ju-
dicial review of the merits of a determination made
under subsection (a)(3) or (a)(6)) is available exclu-
sively in habeas corpus proceedings consistent with
this subsection. Except as provided in the preceding
sentence, no court shall have jurisdiction to review,
by habeas corpus petition or otherwise, any such ac-
tion or decision.
‘‘(2) APPLICATION.—
‘‘(A) IN GENERAL.—Notwithstanding any
other provision of law, including section
2241(a) of title 28, United States Code, habeas
corpus proceedings described in paragraph (1)
may be initiated only by an application filed
with—
‘‘(i) the Supreme Court;
‘‘(ii) any justice of the Supreme
Court;
‘‘(iii) any circuit judge of the United
States Court of Appeals for the District of
Columbia Circuit; or
‘‘(iv) any district court otherwise hav-
ing jurisdiction to entertain it.
‘‘(B) APPLICATION
TRANSFER.—Section
2241(b) of title 28, United States Code, shall
apply to an application for a writ of habeas cor-
pus described in subparagraph (A).
‘‘(3) APPEALS.—Notwithstanding any other
provision of law, including section 2253 of title 28,
in habeas corpus proceedings described in paragraph
(1) before a circuit or district judge, the final order
shall be subject to review, on appeal, by the United
States Court of Appeals for the District of Columbia
Circuit. There shall be no right of appeal in such
proceedings to any other circuit court of appeals.
‘‘(4) RULE OF DECISION.—The law applied by
the Supreme Court and the United States Court of
Appeals for the District of Columbia Circuit shall be
regarded as the rule of decision in habeas corpus
proceedings described in paragraph (1).
‘‘(c) STATUTORY CONSTRUCTION.—The provisions of
this section shall not be applicable to any other provision
of the Immigration and Nationality Act.’’.
(b) CLERICAL AMENDMENT.—The table of contents
of the Immigration and Nationality Act is amended by in-
serting after the item relating to section 236 the following:
‘‘Sec. 236A. Mandatory detention of suspected terrorist; habeas corpus; judicial
review.’’.
(c) REPORTS.—Not later than 6 months after the
date of the enactment of this Act, and every 6 months
thereafter, the Attorney General shall submit a report to
the Committee on the Judiciary of the House of Rep-
resentatives and the Committee on the Judiciary of the
Senate, with respect to the reporting period, on—
(1) the number of aliens certified under section
236A(a)(3) of the Immigration and Nationality Act,
as added by subsection (a);
(2) the grounds for such certifications;
(3) the nationalities of the aliens so certified;
(4) the length of the detention for each alien so
certified; and
(5) the number of aliens so certified who—
(A) were granted any form of relief from
removal;
(B) were removed;
(C) the Attorney General has determined
are no longer aliens who may be so certified; or
(D) were released from detention.
SEC. 413. MULTILATERAL COOPERATION AGAINST TERROR-
ISTS.
Section 222(f) of the Immigration and Nationality
Act (8 U.S.C. 1202(f)) is amended—
(1) by striking ‘‘except that in the discretion
of’’ and inserting the following: ‘‘except that—
‘‘(1) in the discretion of’’; and
(2) by adding at the end the following:
‘‘(2) the Secretary of State, in the Secretary’s
discretion and on the basis of reciprocity, may pro-
vide to a foreign government information in the De-
partment of State’s computerized visa lookout data-
base and, when necessary and appropriate, other
records covered by this section related to informa-
tion in the database—
‘‘(A) with regard to individual aliens, at
any time on a case-by-case basis for the pur-
pose of preventing, investigating, or punishing
acts that would constitute a crime in the United
States, including, but not limited to, terrorism
or trafficking in controlled substances, persons,
or illicit weapons; or
‘‘(B) with regard to any or all aliens in the
database, pursuant to such conditions as the
Secretary of State shall establish in an agree-
ment with the foreign government in which that
government agrees to use such information and
records for the purposes described in subpara-
graph (A) or to deny visas to persons who
would be inadmissible to the United States.’’.
Subtitle C—Preservation of Immi-
gration Benefits for Victims of
Terrorism
SEC. 421. SPECIAL IMMIGRANT STATUS.
(a) IN GENERAL.—For purposes of the Immigration
and Nationality Act (8 U.S.C. 1101 et seq.), the Attorney
General may provide an alien described in subsection (b)
with the status of a special immigrant under section
101(a)(27) of such Act (8 U.S.C. 1101(a(27)), if the
alien—
(1) files with the Attorney General a petition
under section 204 of such Act (8 U.S.C. 1154) for
classification under section 203(b)(4) of such Act (8
U.S.C. 1153(b)(4)); and
(2) is otherwise eligible to receive an immigrant
visa and is otherwise admissible to the United States
for permanent residence, except in determining such
admissibility, the grounds for inadmissibility speci-
fied in section 212(a)(4) of such Act (8 U.S.C.
1182(a)(4)) shall not apply.
(b) ALIENS DESCRIBED.—
(1) PRINCIPAL ALIENS.—An alien is described
in this subsection if—
(A) the alien was the beneficiary of—
(i) a petition that was filed with the
Attorney General on or before September
11, 2001—
(I) under section 204 of the Im-
migration and Nationality Act (8
U.S.C. 1154) to classify the alien as
a family-sponsored immigrant under
section 203(a) of such Act (8 U.S.C.
1153(a)) or as an employment-based
immigrant under section 203(b) of
such Act (8 U.S.C. 1153(b)); or
(II) under section 214(d) (8
U.S.C. 1184(d)) of such Act to au-
thorize 
the 
issuance 
of 
a 
non-
immigrant visa to the alien under sec-
tion 101(a)(15)(K) of such Act (8
U.S.C. 1101(a)(15)(K)); or
(ii) an application for labor certifi-
cation under section 212(a)(5)(A) of such
Act (8 U.S.C. 1182(a)(5)(A)) that was
filed under regulations of the Secretary of
Labor on or before such date; and
(B) such petition or application was re-
voked or terminated (or otherwise rendered
null), either before or after its approval, due to
a specified terrorist activity that directly re-
sulted in—
(i) the death or disability of the peti-
tioner, applicant, or alien beneficiary; or
(ii) loss of employment due to physical
damage to, or destruction of, the business
of the petitioner or applicant.
(2) SPOUSES AND CHILDREN.—