; and (2) by inserting after subsection (b) the following: (c) Alternatives to detention In carrying out the responsibilities of the Secretary under this Act or title II of Public Law 90–284 (commonly known as the Indian Civil Rights Act of 1968 ) ( 25 U.S.C. 1301 et seq.), the Secretary shall authorize an Indian tribe carrying out a contract or compact pursuant to the Indian Self-Determination and Education Assistance Act ( 25 U.S.C. 5304 et seq.), on request of the Indian tribe, to use any available detention funding from the contract or compact for such appropriate alternatives to detention to which the Indian tribe and Secretary, acting through the Director of the Office of Justice Services, mutually agree. . (c) Juvenile detention centers Section 4220(b) of the Indian Alcohol and Substance Abuse Prevention and Treatment Act of 1986 ( 25 U.S.C. 2453(b) ) is amended by striking 2011 through 2015 each place it appears and inserting 2018 through 2022 . (d) Payments for incarceration on tribal land Section 20109(a) of the Violent Crime Control and Law Enforcement Act of 1994 ( 34 U.S.C. 12109 ) is amended by striking 2011 through 2015 and inserting 2018 through 2022 . 107. Reauthorization for tribal courts training (a) Tribal justice systems Section 201 of the Indian Tribal Justice Act ( 25 U.S.C. 3621 ) is amended by striking 2011 through 2015 each place it appears and inserting 2018 through 2022 . (b) Technical and legal assistance (1) Authorization of appropriations Section 107 of the Indian Tribal Justice Technical and Legal Assistance Act of 2000 ( 25 U.S.C. 3666 ) is amended by striking 2011 through 2015 and inserting 2018 through 2022 . (2) Grants Section 201(d) of the Indian Tribal Justice Technical and Legal Assistance Act of 2000 ( 25 U.S.C. 3681(d) ) is amended by striking 2011 through 2015 and inserting 2018 through 2022 . 108. Amendments to the Indian Civil Rights Act (a) Constitutional rights Section 202(a)(10) of Public Law 90–284 (commonly known as the Indian Civil Rights Act of 1968 ) ( 25 U.S.C.