; and (B) the term of the subsequent funding agreement shall be retroactive to the end of the term of the preceding funding agreement for the purposes of calculating the amount of funding to which the Indian Tribe is entitled. (2) Disputes Disputes over the implementation of paragraph (1)(A) shall be subject to section 406(c). (3) Existing funding agreements An Indian Tribe that was participating in self-governance under this title on the date of enactment of the PROGRESS for Indian Tribes Act shall have the option at any time after that date— (A) to retain its existing funding agreement (in whole or in part) to the extent that the provisions of that funding agreement are not directly contrary to any express provision of this title; or (B) to negotiate a new funding agreement in a manner consistent with this title. (4) Multiyear funding agreements An Indian Tribe may, at the discretion of the Indian Tribe, negotiate with the Secretary for a funding agreement with a term that exceeds 1 year. . (e) General revisions Title IV of the Indian Self-Determination and Education Assistance Act ( 25 U.S.C. 5304 et seq.) is amended by striking sections 404 through 408 and inserting the following: 404. Compacts (a) In general The Secretary shall negotiate and enter into a written compact with each Indian Tribe participating in self-governance in a manner consistent with the trust responsibility of the Federal Government, treaty obligations, and the government-to-government relationship between Indian Tribes and the United States. (b) Contents A compact under subsection (a) shall— (1) specify and affirm the general terms of the government-to-government relationship between the Indian Tribe and the Secretary