; and (B) in paragraph (5), by striking , except functions under subchapter B of chapter 1 of subtitle D of title XII of the Food Security Act of 1985 ( 16 U.S.C. 3831 et seq. ) ; and (2) in subsection (g)(3), by striking 2023 and inserting 2029 . 12205. Burden of proof for national appeals division hearings Section 277(c)(4) of the Department of Agriculture Reorganization Act of 1994 ( 7 U.S.C. 6997(c)(4) ) is amended to read as follows: (4) Burden of proof The agency shall bear the burden of proving by substantial evidence that the adverse decision of the agency was valid. . 12206. Termination of authority Section 296(b) of the Department of Agriculture Reorganization Act of 1994 ( 7 U.S.C. 7014(b) ) is amended by adding at the end the following: (11) The authority of the Secretary to carry out the amendments made to this title by the Farm, Food, and National Security Act of 2024 . . 12207. Functions of the Office of Tribal Relations Section 309 of the Federal Crop Insurance Reform and Department of Agriculture Reorganization Act of 1994 ( 7 U.S.C. 6921 ) is amended— (1) in subsection (a)— (A) by striking shall advise and all that follows through the period at the end and inserting shall— ; and (B) by adding at the end the following: (1) advise the Secretary on policies related to Indian tribes; (2) oversee— (A) each self-determination contract (as defined in section 4 of the Indian Self-Determination and Education Assistance Act ( 25 U.S.C. 5304 )) entered into between the Secretary and a tribal organization; and (B) each self-governance compact (as defined in section 401 of such Act ( 25 U.S.C. 5361 )) entered into between the Secretary and an Indian tribe; and (3) carry out such other functions as the Secretary considers appropriate.