amortization on debt discount on notes to related party of $42,913, payable to related parties of $190,010, accounts payable of $162,643, accrued legal fees of $745,713, accrued liabilities of $61,120, and other current liabilities of $104,895, and the decreases in prepaid expenses and other current assets of $60,995.
For the three months ended March 31, 2022, cash used in operating activities was $229,451, consisting of a net loss of $369,935 and interest earned on marketable securities held in the Trust Account of $17,513, a decrease in the fair value of the warrant liability of $230,550, and a decrease in accrued liabilities of $228,440, that were partially offset by the increases in payable to related parties of $189,363, accounts payable of $180,130, accrued legal fees of $52,525, and other current liabilities of $5,115, and the decreases in other long-term assets of $165,230 and prepaid expenses and other current assets of $24,624.
For the three months ended March 31, 2023, cash provided by investing activities was $10,309,449, consisting of cash withdrawn from the Trust Account of $10,729,449 that was partially offset by an investment of cash in Trust Account of $420,000.
For the three months ended March 31, 2022, there were no investing activities.
For the three months ended March 31, 2023, cash used in financing activities was $9,484,625, consisting of cash paid for the redemption of public units of $10,449,625, that were partially offset by cash proceeds from a related party borrowing of $420,000 on the Extension Note and $545,000 on the Working Capital Note.
For the three months ended March 31, 2022, there were no financing activities.
For the year ended December 31, 2022, cash used in operating activities was $1,261,550, consisting of a net loss of $2,774,307, interest received on marketable securities held in the Trust Account of $1,630,398, and a decrease in the fair value of the warrant liability of $381,600, debt of $2,508, and a decrease in accrued liabilities of $117,411, that were partially offset by the decrease in prepaid expenses and other current assets of $567,733 and a decrease in other long-term assets of $165,230, plus an increase in accounts payable of $166,964, payable to related parties of $708,704, accrued legal fees of $1,931,891, other current liabilities of $86,238, and amortization on debt discount on notes to related party of $17,914.
For the period from January 19, 2021 (date of inception) through December 31, 2021, cash used in operating activities was $1,369,711, consisting of a net loss of $1,107,730, interest received on marketable securities held in the Trust Account of $5,978, plus an increase in prepaid expenses and other current assets of $740,241 and an increase in other long-term assets of $165,230, that were partially offset by the increase in accounts payable of $3,100, payable to related parties of $72,857, accrued legal fees of $225,146, accrued liabilities of $220,755, and other current liabilities of $1,783, plus an increase in the fair value of the warrant liability of $30,627 and stock-based compensation of $95,200.
For the year ended December 31, 2022, cash provided by investing activities was $192,241,509, consisting of cash withdrawn from the Trust Account of $192,881,509 that was partially offset by an investment of cash in Trust Account of $640,000.
For the period from January 19, 2021 (date of inception) through December 31, 2021, cash used in investing activities was $232,300,000, consisting of a cash investment in Trust Account of $232,300,000.
For the year ended December 31, 2022, cash used in financing activities was $191,323,312, consisting of cash paid for the redemption of GigCapital5 Units of $192,138,312 and the payment of offering costs of $85,000, that were partially offset by cash proceeds from a related party borrowing of $640,000 on the Extension Note and $260,000 on the Working Capital Note.
For the period from January 19, 2021 (date of inception) through December 31, 2021, financing activities provided cash of $234,091,260 due to the proceeds from the sale of common stock to Founders of $25,000, from the
224