For greater detail select the highlighted words, phrases or graphics

s 507 Priorities

(a) The following expenses and claims have priority in the following order:

(b) If the trustee, under section 362, 363, or 364 of this title, provides adequate protection of the interest of a holder of a claim secured by a lien on property of the debtor and if, notwithstanding such protection, such creditor has a claim allowable under subsection (a)(1) of this section arising from the stay of action against such property under section 362 of this title, from the use, sale, or lease of such property under section 363 of this title, or from the granting of a lien under section 364(d) of this title, then such creditor's claim under such subsection shall have priority over every other claim allowable under such subsection.

(c) For the purpose of subsection (a) of this section, a claim of a governmental unit arising from an erroneous refund or credit of a tax has the same priority as a claim for the tax to which such refund or credit relates.

(d) An entity that is subrogated to the rights of a holder of a claim of a kind specified in subsection (a)(3), (a)(4), (a)(5), or (a)(6) of this section is not subrogated to the right of the holder of such claim to priority under such subsection.

(Pub.L. 95-598, Nov. 6, 1978, 92 Stat. 2583.) (As amended Pub.L. 98-353, Title III, ss 350, 449, July 10, 1984, 98 Stat. 358, 374; Pub.L. 101-647, Title XXV, s 2522(d), Nov. 29, 1990, 104 Stat. 4867.)