$463,000 related to stock-based compensation, $2.6 million related to payroll and payroll related expenses, $1.5 million related to other corporate expenses, including board fees, corporate office rent and insurance and $1.2 million related to legal, accounting and other professional fees. For the year ended December 31, 2021, approximately $477,000 related to stock-based compensation, $2.7 million related to payroll and payroll related expenses, $1.1 million related to other corporate expenses, including board fees, corporate office rent and insurance and $854,000 related to legal, accounting and other professional fees.
Pension related costs increased by approximately $481,000 to $548,000 for the year ended December 31, 2022 from $67,000 for the year ended December 31, 2021. These costs represent other periodic pension costs and professional fees incurred in connection with the legacy Syms Pension Plan (see Note 9 – Pension Plan to our consolidated financial statements for further information).
Cost of sales – residential condominium units increased by approximately $12.9 million to $35.2 million for the year ended December 31, 2022 from $22.3 million for the year ended December 31, 2021. We closed on 14 residential condominium units for both of the years ended December 31, 2022 and 2021. Cost of sales consists of construction and capitalized operating costs that are allocated to the respective condominium units being sold, as well as closing costs of the residential condominium units. Units that we closed during 2022 and 2021 were generally lower priced, smaller units on the building’s lower floors.
Transaction related costs were $163,000 for the year ended December 31, 2022 and were not incurred for the year ended December 31, 2021. These costs represent professional fees and other costs incurred in connection with the underwriting and evaluation of potential acquisitions and investments for transactions that were not consummated, as well as costs for potential leases at our retail properties that were not consummated.
Depreciation and amortization remained consistent at $4.0 million for the years ended December 31, 2022 and 2021. For the year ended December 31, 2022, depreciation and amortization expense consisted of depreciation for the Paramus, New Jersey property of approximately $1.1 million, depreciation for 237 11th of approximately $1.6 million, the amortization of lease commissions and acquired in-place leases of approximately $770,000 for 237 11th, and amortization of warrants of approximately $456,000. For the year ended December 31, 2021, depreciation and amortization expense consisted of depreciation for the Paramus, New Jersey property of approximately $1.1 million, depreciation for 237 11th of approximately $1.6 million, the amortization of lease commissions, acquired in-place leases of approximately $768,000 for 237 11th, and warrants of approximately $456,000.
Equity in net income from unconsolidated joint ventures increased by approximately $1.4 million to $804,000 for the year ended December 31, 2022 from a net loss of $555,000 for the year ended December 31, 2021. Equity in net income from unconsolidated joint ventures represented our 50% share in The Berkley, which was sold in April 2022, and our 10% share in 250 North 10th. For the year ended December 31, 2022, our share of the net income is primarily comprised of operating income before depreciation of $1.1 million offset by depreciation and amortization of $774,000, interest expense of $430,000, gain from the change in the fair market value of the interest rate swap of $77,000 and a gain on the settlement of the interest rate swap of $1.0 million upon the sale of The Berkley in April 2022. For the year ended December 31, 2021, our share of the loss is primarily comprised of operating income before depreciation of $1.7 million offset by depreciation and amortization of $1.5 million, interest expense of $745,000 and the change in the fair market value of the interest rate swap of $77,000.
Equity in net gain on sale of unconsolidated joint venture property represents the sale of The Berkley in April 2022 for a sale price of $70.8 million. In connection with the sale of the property, our share of the gain was approximately $4.5 million.
Unrealized gain on warrants increased by approximately $1.0 million to $1.1 million for the year ended December 31, 2022 from $73,000 for the year ended December 31, 2021. This represents the change in the fair market valuation of the warrants due mainly to the change in our stock price on the measurement date.
Interest expense, net increased by approximately $7.8 million to $15.7 million for the year ended December 31, 2022 from $7.9 million, net for the year ended December 31, 2021. For the year ended December 31, 2022, there was approximately