For the three months ended June 30, 2022, we had net income of $54,361, which consists of interest earned on marketable securities held in the Trust Account of $703,370, offset by formation and operating costs of $430,744, an unrealized loss on marketable securities held in our Trust Account of $126,150 and a provision for income taxes of $92,115.
For the six months ended June 30, 2022, we had a net loss of $333,875, which consists of formation and operating costs of $959,859, an unrealized loss on marketable securities held in our Trust Account of $111,572, and a provision for income taxes of $92,115, offset by interest earned on marketable securities held in the Trust Account of $829,671.
Liquidity, Capital Resources and Going Concern
On July 12, 2021, we completed the Initial Public Offering of 50,000,000 Public Shares, which includes the full exercise by the underwriters of their over-allotment option in the amount of 5,000,000 Public Shares, at $10.00 per Public Share, generating gross proceeds of $500,000,000. Simultaneously with the closing of the Initial Public Offering, we completed the sale of 1,450,000 Private Placement Shares at a price of $10.00 per Private Placement Share in a private placement to the Sponsor, generating gross proceeds of $14,500,000.
Following the Initial Public Offering, the exercise of the over-allotment option and the sale of the Private Placement Shares, a total of $500,000,000 was placed in the Trust Account. We incurred $26,652,125 of transaction costs, consisting of $8,580,000 of underwriting fees, which is net of $1,420,000 reimbursed fees from the underwriters, $17,500,000 of deferred underwriting fees and $572,125 of other offering costs. In addition, $5,285,860 of cash was held outside of the Trust Account and is available for working capital purposes.
For the six months ended June 30, 2023, cash used in operating activities was $4,223,221. The net income of $6,873,110 was affected by interest earned on marketable securities held in the Trust Account $11,279,715 and deferred tax benefit of $294,084. Changes in operating assets and liabilities provided $477,468 of cash for operating activities.
For the six months ended June 30, 2022, cash used in operating activities was $309,260. The net loss of $333,875 was affected by interest earned on marketable securities held in the Trust Account $829,671 and unrealized loss on marketable securities held in our Trust Account of $111,572. Changes in operating assets and liabilities provided $742,714 of cash for operating activities.
As of June 30, 2023, we had marketable securities held in the Trust Account of $515,933,705 (including $15,933,705 of interest income) consisting of U.S. Treasury Bills with a maturity of 185 days or less. Interest income on the balance in the Trust Account may be used by us to pay taxes. During the three and six months ended June 30, 2023, the Company withdrew an amount of $1,486,090 on interest earned from the Trust Account for tax liabilities. As of June 30, 2023, the Company has $1,000,000 available of the permitted withdrawal related to working capital. Additionally, as of June 30, 2023, the Company has paid taxes of $1,146,274 from the operating account, which is available for reimbursement from interest earned from the amounts held in the Trust Account.
To mitigate the risk of being viewed as operating an unregistered investment company (including pursuant to the subjective test of Section 3(a)(1)(A) of the Investment Company Act of 1940), all funds in the trust account are held and will be held in cash (which may include demand deposit accounts) until the earlier of consummation of our initial Business Combination or liquidation. We intend to use substantially all of the funds held in the Trust Account, including any amounts representing interest earned on the Trust Account (less deferred underwriting commissions and 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 complete our Business Combination, the remaining proceeds held in the Trust Account will be used as working capital to finance the operations of the target business or businesses, make other acquisitions and pursue our growth strategies.
As of June 30, 2023, we had cash of $840,228. We intend to use the funds held outside the Trust Account primarily to identify and evaluate target businesses, perform business due diligence on prospective target businesses, travel to and from the offices, plants or similar locations of prospective target businesses or their representatives or owners, review corporate documents and material agreements of prospective target businesses, and structure, negotiate and complete a Business Combination.