At the termination of a charitable trust, private foundation organized as a trust, or any other trust described in section 501(c)(3) of the Internal Revenue Code, the trust property must be distributed for one or more exempt purposes or to organizations that are organized and operated exclusively for exempt purposes within the meaning of section 501(c)(3) of the Internal Revenue Code or must be distributed to the federal government or to a state or local government for a public purpose. At the termination of a split-interest trust, the charitable portion of the trust property must be distributed to one or more organizations described in sections 170(c), 2055(a), and 2522(a) of the Internal Revenue Code.
§ 72-38-826, MCA