; and (B) provide training for such Bureau employees. (4) Not later than 180 days after the date of enactment of this subsection, the Bureau shall enter into agreements with State and tribal mental health officials that outline the process for carrying out an EOD or taking an individual into protective custody in a case in which Bureau law enforcement provides the primary law enforcement to a tribe. (5) There is authorized to be appropriated $1,500,000 to the Office of Justice Services of the Bureau of Indian Affairs to implement this subsection, which shall remain available until expended. . 103. Detention services (a) Incarcerated individuals In accordance with the Act of August 5, 1954 ( 42 U.S.C. 2001 et seq.) (commonly referred to as the Transfer Act ), the Indian Health Service shall be responsible for the medical care and treatment of all Indians detained or incarcerated in a Bureau of Indian Affairs or tribal detention or correctional center. Care shall be provided to those individuals without regard to the individual's normal domicile. (b) Memorandum of agreement The Bureau of Indian Affairs and the Indian Health Service shall enter a memorandum of agreement to implement this section. Such agreement shall include provisions regarding appropriate training, treatment locations for detained or incarcerated individuals, and other matters relating to medical care and treatment under this section. 104. Tribal law enforcement Officers The Indian Law Enforcement Reform Act ( 25 U.S.C. 2801 et seq.) is amended by inserting after section 4 the following: 4A. Tribal law enforcement officers (a) Notwithstanding any other provision of Federal law, law enforcement officers of any Indian tribe that has contracted or compacted any or all Federal law enforcement functions through the Indian Self-Determination and Education Assistance Act ( 25 U.S.C. 5301 et seq.) shall have the authority to enforce Federal law within the area under the tribe’s jurisdiction, if— (1) the tribal officers involved have— (A) completed