; (ii) Swift Current Creek Dike; (iii) Lower St. Mary Lake; (iv) St. Mary Canal Diversion Dam; and (v) St. Mary Canal and appurtenances. (24) State The term State means the State of Montana. (25) Tribal water code The term Tribal water code means the Tribal water code enacted by the Fort Belknap Indian Community pursuant to section 11005(g). (26) Tribal water rights The term Tribal water rights means the water rights of the Fort Belknap Indian Community, as described in Article III of the Compact and this division, including the allocation of water to the Fort Belknap Indian Community from Lake Elwell under section 11007. (27) Trust fund The term Trust Fund means the Aaniiih Nakoda Settlement Trust Fund established for the Fort Belknap Indian Community under section 11012(a). 11004. Ratification of Compact (a) Ratification of Compact (1) In general As modified by this division, the Compact is authorized, ratified, and confirmed. (2) Amendments Any amendment to the Compact is authorized, ratified, and confirmed to the extent that the amendment is executed to make the Compact consistent with this division. (b) Execution (1) In general To the extent that the Compact does not conflict with this division, the Secretary shall execute the Compact, including all appendices to, or parts of, the Compact requiring the signature of the Secretary. (2) Modifications Nothing in this division precludes the Secretary from approving any modification to an appendix to the Compact that is consistent with this division, to the extent that the modification does not otherwise require congressional approval under section 2116 of the Revised Statutes ( 25 U.S.C. 177 ) or any other applicable provision of Federal law. (c) Environmental compliance (1) In general In implementing the Compact and this division, the Secretary shall comply with all applicable provisions of— (A) the Endangered Species Act of 1973 ( 16 U.S.C. 1531 et seq. )