Under US bankruptcy law, any license of intellectual property rights is considered to be an "executory contract" and, upon the filing for bankruptcy, the trustee in bankruptcy or debtor-in-possession has the option to reject or assume such licences (subject to other caveats and issues addressed in the US Bankruptcy Code). Among the attributes unique to US bankruptcy law, the US Bankruptcy Code grants certain protections to copyright and patent licensees (although not trademark licensees) in the event that the licensor files for bankruptcy. Specifically, Section 365(n) of the US Bankruptcy Code allows for an election by the non-debtor licensee to continue using the licensed property post-bankruptcy even if the licensor rejects the contract (provided that it continues to make all royalty payments due and performs under the contract for the duration thereof).