interest income from bank of $8,458, partially offset by change in fair value of warrant liability of $184,594, operating costs of $577,313 and provision for income taxes of $318,313.
For the six months ended June 30, 2023, we had a net income of $677,930, which consists of income earned on marketable securities held in trust account of $2,028,921, net gain on settlement of $829,853 and interest income from bank of $8,458, partially offset by change in fair value of warrant liability of $123,062, operating costs of $1,485,122 and provision for income taxes of $581,118.
For the three months ended June 30, 2022, we had a net income of $8,141,357, which consists of income earned on marketable securities held in trust account of $304,373, change in fair value of PIPE derivative liability of $2,367,500 and change in fair value of warrant liability of $6,053,521, partially offset by operating costs of $566,616 and provision for income taxes of $17,421.
For the six months ended June 30, 2022, we had a net income of $9,498,304, which consists of income earned on marketable securities held in trust account of $325,372, change in fair value of PIPE derivative liability of $3,733,500 and change in fair value of warrant liability of $6,712,363, partially offset by operating costs of $1,255,510 and provision for income taxes of $17,421.
Liquidity and Capital Resources
On February 9, 2021, we consummated our IPO of 17,500,000 Quantum Units, each Quantum Unit consisting of one share of Quantum Common Stock, par value $0.0001 per share, and one warrant to purchase one-half of one share of Quantum Common Stock at an exercise price of $11.50, at $10.00 per unit, generating gross proceeds of $175,000,000. Simultaneously with the closing of our IPO, we consummated the sale of 5,562,500 Quantum Private Warrants at a price of $1.00 per Quantum Private Warrant in a private placement to the Co-Sponsors, generating gross proceeds of $5,562,500.
On February 12, 2021, in connection with the underwriters’ exercise of their over-allotment option in full, we consummated the sale of an additional 2,625,000 Quantum Units at a price of $10.00 per unit, generating total gross proceeds of $26,250,000. In addition, we consummated the sale of an additional 590,625 Quantum Private Warrants at $1.00 per Quantum Private Warrant, generating gross proceeds of $590,625.
Following the IPO, the full exercise of the over-allotment option, and the sale of the Quantum Private Warrants, a total of $201,250,000 was placed in the trust account. We incurred $5,017,526 in IPO related costs, including $4,528,125 of underwriting fees and $489,401 of other costs.
For the six months ended June 30, 2023, net cash used in operating activities was $785,611. Net income of $677,930 was affected by income earned on marketable securities held in the trust account of $2,028,921 and the change in fair value of warrant liability of $123,062. Changes in operating assets and liabilities provided $442,318 of cash for operating activities, primarily due to an increase in accounts payable and accrued expenses.
For the six months ended June 30, 2022, cash used in operating activities was $443,846. Net income of $9,498,304 was affected by income earned on marketable securities held in the trust account of $325,372, change in fair value of PIPE derivative liability of $3,733,500 and the change in fair value of warrant liability of $6,712,363. Changes in operating assets and liabilities provided $829,085 of cash for operating activities.
As of June 30, 2023, we had marketable securities of $57,409,747 (including $1,961,007 of income, net of amounts withdrawn to pay taxes) held in the trust account, invested in U.S. government treasury bills, notes or bonds having a maturity of 185 days or less and/or (ii) in money market funds meeting certain conditions under Rule 2a-7 of the Investment Company Act, as determined by us. Investment income on the balance in the trust account may be used by us to pay taxes and dissolution expenses up to $100,000. During the three and six months ended June 30, 2023, we withdrew an amount of $1,015,001 in income earned from the Trust Account.
We intend to use substantially all of the funds held in the trust account, including any amounts representing income earned on the trust account (less income taxes payable), to complete our business combination. To the extent that our capital stock or debt is used, in whole or in part, as consideration to