State or a political subdivision of the State, had 
failed to— 
‘‘(A) maintain the nonimmigrant status in 
which the alien was admitted or to which it was 
changed under section 248; or 
‘‘(B) comply with the conditions of any 
such status; 
‘‘(3) was admitted as an immigrant and has 
subsequently failed to comply with the requirements 
of that status; or 
‘‘(4) failed to depart the United States under a 
voluntary departure agreement or under a final 
order of removal. 
‘‘(g) AUTHORIZATION OF APPROPRIATIONS FOR THE 
DETENTION AND TRANSPORTATION TO FEDERAL CUS-
TODY OF ALIENS NOT LAWFULLY PRESENT.—There is 
authorized to be appropriated $500,000,000 for the deten-
tion and removal of aliens not lawfully present in the 
United States under this Act for fiscal year 2006 and each 
subsequent fiscal year.’’. 
(2) CLERICAL AMENDMENT.—The table of con-
tents of such Act is amended by inserting after the 
item relating to section 240C the following new item: 
‘‘Sec. 240D. Custody of illegal aliens.’’. 
(b) GAO AUDIT.—Not later than 3 years after the 
date of the enactment of this title, the Comptroller Gen-
eral of the United States shall conduct an audit of com-
pensation to States and political subdivisions of States for 
the incarceration of illegal aliens under section 240D(a) 
of the Immigration and Nationality Act (as inserted by 
subsection (a)(1)). 
SEC. 110. TRAINING OF STATE AND LOCAL LAW ENFORCE-
MENT PERSONNEL RELATING TO THE EN-
FORCEMENT OF IMMIGRATION LAWS. 
(a) ESTABLISHMENT
OF TRAINING MANUAL
AND 
POCKET GUIDE.—Not later than 180 days after the date 
of the enactment of this title, the Secretary of Homeland 
Security shall establish— 
(1) a training manual for law enforcement per-
sonnel of a State or political subdivision of a State 
to train such personnel in the investigation, identi-
fication, apprehension, arrest, detention, and trans-
fer to Federal custody of aliens in the United States 
(including the transportation of such aliens across 
State lines to detention centers and the identifica-
tion of fraudulent documents); and 
(2) an immigration enforcement pocket guide 
for law enforcement personnel of a State or political 
subdivision of a State to provide a quick reference 
for such personnel in the course of duty.
(b) AVAILABILITY.—The training manual and pocket 
guide established in accordance with subsection (a) shall 
be made available to all State and local law enforcement 
personnel. 
(c) APPLICABILITY.—Nothing in this section shall be 
construed to require State or local law enforcement per-
sonnel to carry the training manual or pocket guide estab-
lished under subsection (a)(2) with them while on duty. 
(d) COSTS.—The Department of Homeland Security 
shall be responsible for any and all costs incurred in estab-
lishing the training manual and pocket guide under sub-
section (a). 
(e) TRAINING FLEXIBILITY.— 
(1) IN GENERAL.—The Department of Home-
land Security shall make training of State and local 
law enforcement officers available through as many 
means as possible, including residential training at 
the Center for Domestic Preparedness, onsite train-
ing held at State or local police agencies or facilities, 
online training courses by computer, teleconfer-
encing, and videotape, or the digital video display 
(DVD) of a training course or courses. E-learning 
through a secure, encrypted distributed learning sys-
tem that has all its servers based in the United 
States, is sealable, survivable, and can have a portal
in place within 30 days, shall be made available by 
the Federal Law Enforcement Training Center Dis-
tributed Learning Program for State and local law 
enforcement personnel. 
(2) FEDERAL
PERSONNEL
TRAINING.—The 
training of State and local law enforcement per-
sonnel under this section shall not displace the train-
ing of Federal personnel. 
(3) CLARIFICATION.—Nothing in this title or 
any other provision of law shall be construed as 
making any immigration-related training a require-
ment for, or prerequisite to, any State or local law 
enforcement officer to assist in the enforcement of 
Federal immigration laws in the normal course of 
carrying out their normal law enforcement duties. 
(f) TRAINING LIMITATION.—Section 287(g) of the 
Immigration and Nationality Act (8 U.S.C. 1357(g)) is 
amended— 
(1) by striking ‘‘Attorney General’’ and insert-
ing ‘‘Secretary of Homeland Security’’ each place it 
appears; and 
(2) in paragraph (2), by adding at the end the 
following: ‘‘Such training shall not exceed 14 days or 
80 hours, whichever is longer.’’.
SEC. 111. IMMUNITY. 
(a) PERSONAL
IMMUNITY.—Notwithstanding any 
other provision of law, a law enforcement officer of a State 
or local law enforcement agency who is acting within the 
scope of the officer’s official duties shall be immune, to 
the same extent as a Federal law enforcement officer, 
from personal liability arising out of the performance of 
any duty described in this title. 
(b) AGENCY IMMUNITY.—Notwithstanding any other 
provision of law, a State or local law enforcement agency 
shall be immune from any claim for money damages based 
on Federal, State, or local civil rights law for an incident 
arising out of the enforcement of any immigration law, 
except to the extent a law enforcement officer of that 
agency committed a violation of Federal, State, or local 
criminal law in the course of enforcing such immigration 
law. 
SEC. 112. INSTITUTIONAL REMOVAL PROGRAM (IRP). 
(a) CONTINUATION AND EXPANSION.— 
(1) IN GENERAL.—The Department of Home-
land Security shall continue to operate and imple-
ment the program known as the Institutional Re-
moval Program (IRP) which— 
(A) identifies removable criminal aliens in 
Federal and State correctional facilities;
(B) ensures such aliens are not released 
into the community; and 
(C) removes such aliens from the United 
States after the completion of their sentences. 
(2) EXPANSION.—The institutional removal 
program shall be extended to all States. Any State 
that receives Federal funds for the incarceration of 
criminal aliens shall— 
(A) cooperate with officials of the institu-
tional removal program; 
(B) expeditiously and systematically iden-
tify criminal aliens in its prison and jail popu-
lations; and 
(C) promptly convey such information to 
officials of such program as a condition for re-
ceiving such funds. 
(b) AUTHORIZATION FOR DETENTION AFTER COM-
PLETION OF STATE OR LOCAL PRISON SENTENCE.—Law 
enforcement officers of a State or political subdivision of 
a State have the authority to— 
(1) hold an illegal alien for a period of up to 
14 days after the alien has completed the alien’s 
State prison sentence in order to effectuate the 
transfer of the alien to Federal custody when the