36C-5-505. Creditor's claim against settlor.
(a) Subject to the other applicable law, whether or not the terms of a trust contain a spendthrift provision or the interest in the trust is a discretionary trust interest as defined in G.S. 36C-504(a)(2) or a protective trust interest as defined in G.S. 36C-5-508, the following rules apply:
(1) During the lifetime of the settlor, the property of a revocable trust is subject to claims of the settlor's creditors.
(2) With respect to an irrevocable trust, a creditor or assignee of the settlor may reach the maximum amount that can be distributed to or for the settlor's benefit. If a trust has more than one settlor, the amount the creditor or assignee of a particular settlor may reach may not exceed the settlor's interest in the portion of the trust attributable to that settlor's contribution.
(2a) Notwithstanding subdivision (2) of this subsection, the trustee's discretionary authority to pay directly to the taxing authorities or to reimburse the settlor for any tax on trust income or trust principal that is payable by the settlor under the law imposing the tax shall not be considered to be an amount that can be distributed to or for the settlor's benefit, and a creditor or assignee of the settlor shall not be entitled to reach any amount.
(3) After the death of a settlor, and subject to the settlor's right to direct the source from which liabilities will be paid, the property of a trust that was revocable at the settlor's death is subject to claims of the settlor's creditors, costs of administration of the settlor's estate, the expenses of the settlor's funeral and disposal of remains, and statutory allowances to a surviving spouse and children to the extent that the settlor's probate estate is inadequate to satisfy those claims, costs, expenses, and allowances, unless barred by applicable law.
(b) For purposes of this section, with respect to a power of withdrawal over property of a trust exercisable by a holder of the power other than the settlor of the trust, both of the following shall apply:
(1) The property subject to the exercise of the power shall be subject to the claims of the creditors of the holder only when and to the extent that the holder exercises the power.
(2) The lapse, release, or waiver of a power shall not be deemed to be an exercise of the power and shall not cause the holder to be treated as a settlor of the trust.
(c) Subject to the Uniform Voidable Transactions Act, Article 3A of Chapter 39 of the General Statutes, for purposes of this section, property contributed to the following trusts is not considered to have been contributed by the settlor and a person who would otherwise be treated as a settlor or a deemed settlor of the following trusts may not be treated as a settlor:
(1) If the settlor is a beneficiary after the death of the settlor's spouse:
a. An irrevocable inter vivos marital trust that is treated as a general power of appointment trust described in section 2523(e) of the Internal Revenue Code.
b. An irrevocable inter vivos marital trust that is treated as a qualified terminable interest trust under section 2523(f) of the Internal Revenue Code.
c. An irrevocable inter vivos trust of which the settlor's spouse is a beneficiary during the spouse's lifetime but which does not qualify for the federal gift tax marital deduction, and during the lifetime of the settlor's spouse (i) the settlor's spouse is the only beneficiary or (ii) the settlor's spouse and any issue of the settlor or the settlor's spouse, or both, are the only beneficiaries.
d. Another trust, to the extent that the property of the other trust is attributable to property passing from a trust described in sub-subdivisions a., b., and c. of this subdivision.
For purposes of this subdivision, notwithstanding the provisions of G.S. 36C-1-103(3), the settlor is a beneficiary whether so named under the initial trust instrument or through the exercise of a limited or general power of appointment.
(2) An irrevocable inter vivos trust for the benefit of a person if the settlor is the person's spouse, regardless of whether or when that person was a settlor of an irrevocable inter vivos trust for the benefit of the person's spouse.
For purposes of this subsection, the "settlor's spouse" refers to the person to whom the settlor was married at the time the irrevocable inter vivos trust was created, notwithstanding a subsequent dissolution of the marriage.