transfer in specified circumstances.
Asset Purchase Agreement with EPI Health
In 2019, we entered into an asset purchase agreement with EPI Health, LLC, or EPI Health, pursuant to which we sold the worldwide rights to RHOFADE (oxymetazoline hydrochloride) cream, 1%, or RHOFADE, which included the assignment of certain licenses for related intellectual property assets (such transaction, the “Disposition”).
Pursuant to the asset purchase agreement, EPI Health paid us closing consideration of $35.2 million. In addition, EPI Health has agreed to pay us (i) potential sales milestone payments of up to $20.0 million in the aggregate upon the achievement of specified levels of net sales of products covered by the agreement, (ii) a specified high single-digit royalty calculated as a percentage of net sales, on a product-by-product and country-by-country basis, until the date that the patent rights related to a particular product, such as RHOFADE, have expired, provided, that with respect to sales of RHOFADE in any territory outside of the United States, such royalty shall be paid on a country-by-country basis until the date that the RHOFADE patent rights in the particular country have expired or, if later, 10 years from the date of the first commercial sale of RHOFADE in such country and (iii) 25% of any upfront, license, milestone, maintenance or fixed payment received by EPI Health in connection with any license or sublicense of the assets transferred in the Disposition in any territory outside of the United States, subject to specified exceptions. In addition, EPI Health has agreed to assume our obligation to pay specified royalties and milestone payments under certain agreements with third parties.
During the three months ended June 30, 2023 and June 30, 2022, we recorded royalty income of $0.1 million and $0.3 million, respectively, and during the six months ended June 30, 2023 and June 30, 2022, we recorded royalty income of $0.3 million and $0.5 million, respectively.
On July 17, 2023, EPI Health filed a voluntary petition for relief under Chapter 11 of the United States Bankruptcy Code. As a result of the bankruptcy filing, we recorded an allowance for doubtful accounts related to amounts due from EPI Health resulting in $1.0 million of bad debt expense for the three and six months ended June 30, 2023.
License Agreement with Eli Lilly and Company
In August 2022, we entered into a non-exclusive patent license agreement with Eli Lilly and Company, or Lilly. Under the license agreement, we granted Lilly non-exclusive rights under certain patents and patent applications that we exclusively license from a third party. The patents and patent applications relate to the use of baricitinib, Lilly’s JAK inhibitor, to treat alopecia areata. Under the license agreement, Lilly has agreed to pay us an upfront payment, regulatory and commercial milestone payments, anniversary payments, and a low single-digit royalty calculated as a percentage of Lilly’s net sales of baricitinib for the treatment of alopecia areata. We have separate contractual obligations under which we have agreed to pay to third parties an amount equal to any regulatory and commercial milestone payments we receive under the Lilly license agreement, as well as a portion of the upfront consideration and a portion of the royalties we may receive under the license agreement.
Upon execution of the agreement, we received $17.6 million, a portion of which represented payments for regulatory and commercial milestones that were deemed to have been achieved as of the execution of the license agreement.
During the three and six months ended June 30, 2023, we received $0.9 million and $2.3 million in royalties, respectively, from Lilly, a portion of which was paid to third parties.
License Agreement with Pediatrix Therapeutics, Inc.
In November 2022, we entered into a license agreement with Pediatrix Therapeutics, Inc., or Pediatrix, under which we granted Pediatrix the exclusive rights to develop, manufacture and commercialize ATI-1777 in Greater China. Pediatrix has agreed to pay us an upfront payment, development, regulatory and commercial milestone payments, and a tiered royalty ranging from a low-to-high single digit percentage of net sales of ATI-1777 by Pediatrix in Greater China. A portion of consideration received from Pediatrix is payable to the former Confluence equity holders as described above.