(B) Substantially similar agreements The term litigation financing agreement shall include any contract (including any option, forward contract, futures contract, short position, swap, or similar contract) or other agreement which, as determined by the Secretary, is substantially similar to an agreement described in subparagraph (A).
(C) Exceptions The term litigation financing agreement shall not include any agreement—
(i) under which the total amount of funds described in subparagraph (A)(i) with respect to an individual civil action is less than $10,000, or
(ii) in which the third party described in subparagraph (A)—
(I) has a right to receive proceeds which are derived from, or pursuant to, such agreement that are limited to—
(aa) repayment of the principal of a loan,
(bb) repayment of the principal of a loan plus any interest on such loan, provided that the rate of interest does not exceed the greater of—
(AA) 7 percent, or
(BB) a rate equal to twice the average annual yield on 30-year United States Treasury securities (as determined for the year preceding the date on which such agreement was executed), or
(cc) reimbursement of attorney's fees, or
(II) bears a relationship described in section 267(b) to the named party receiving the payment described in subparagraph (A)(i).
(3) Litigation financing agreement
(A) In general The term qualified litigation proceeds means, with respect to any taxable year, an amount equal to the realized gains, net income, or other profit received by a covered party during such taxable year which is derived from, or pursuant to, any litigation financing agreement.
(B) Anti-netting Any gains, income, or profit described in subparagraph (A) shall not be reduced or offset by any ordinary or capital loss in the taxable year.
(C) Prohibition on exclusion of certain amounts In determining the amount of realized gain under subparagraph (A), amounts described in section 104(a)(2) and 892(a)(1) shall not be excluded.
(4) Qualified litigation proceeds
(a) Withholding of tax on litigation proceeds Any applicable person having the control, receipt, or custody of any proceeds from a civil action (by settlement, judgment, or otherwise) with respect to which such person had entered into a litigation financing agreement shall deduct and withhold from such proceeds a tax equal to 50 percent of the applicable percentage (as determined under section 5000E–1(b)) of any payments which are required to be made to a third party pursuant to such agreement.
(b) Applicable person For purposes of this section, the term applicable person means any person which—
(1) is a named party in a civil action or a law firm affiliated with such civil action, and
(2) has entered into a litigation financing agreement with respect to such civil action.