During the three months ended September 30, 2022 and 2021, we issued 9,688 and 7,328 shares of common stock, respectively, as part of the quarterly compensation of the non-employee members of the Board of Directors. During the nine months ended September 30, 2022 and 2021, we issued 28,288 and 24,032 shares of common stock, respectively, as part of the quarterly compensation of the non-employee members of the Board of Directors.
During the three and nine months ended September 30, 2022, a total of 11,215 and 131,709 restricted stock units (“RSUs”), net of forfeitures for tax withholdings, respectively, were converted to common stock. There were 62,277 and 102,041 RSUs converted to common stock during the three and nine months ended September 30, 2021.
In connection with the acquisition of FIH, we offered certain FIH employees the option to purchase shares of our common stock at a 15% discount of the closing market price of our common stock on the date of the acquisition. During the nine months ended September 30, 2021, such employees purchased 1,038,309 shares of common stock, net of forfeitures for tax withholdings, with payment made to us of $28.9 million, resulting in the recognition of $5.1 million in stock compensation expense included in Transaction and related costs in the Condensed Consolidated Statement of Income.
Employee Stock Purchase Plan
In May 2022, our shareholders approved the 2022 Primoris Services Corporation Employee Stock Purchase Plan (the “ESPP”) for which, eligible full-time employees can purchase shares of our common stock at a discount. The purchase price of the stock is 90% of the lower of the market price at the beginning of the offering period or the end of the offering period. Purchases occur semi-annually, approximately 30 days following the filing of our Annual Report on Form 10-K for the fiscal year ended December 31 of each year but in no cases can extend beyond March 31 of the period or year, and approximately 30 days following the filing of our Quarterly Report on Form 10-Q for the fiscal quarter ended June 30 of each year. For the three and nine months ended September 30, 2022, 9,943 shares were purchased at a purchase price of $17.44 per share.
Secondary Offering
In March 2021, we entered into an underwriting agreement with Goldman Sachs & Co. LLC, Morgan Stanley & Co. LLC and UBS Securities LLC, as representatives of the underwriters, in connection with a public offering, pursuant to which we agreed to issue and sell 4,500,000 shares of common stock, par value $0.0001 per share. The shares were offered and sold at a public offering price of $35.00 per share. Our gross proceeds of the offering, before deducting underwriting discounts, commissions and offering expenses, were approximately $157.5 million. Our net proceeds were approximately $149.3 million and were used to repay a portion of the borrowings incurred under our Credit Agreement in connection with the acquisition of FIH.
Share Purchase Plan
In November 2021, our Board of Directors authorized a $25.0 million share purchase program. Under the share purchase program, we can, depending on market conditions, share price and other factors, acquire shares of our common stock on the open market or in privately negotiated transactions. In February 2022, our Board of Directors replenished the limit to $25.0 million. During the three months ended September 30, 2022, we purchased and cancelled 129,200 shares of common stock, which in the aggregate equaled $2.6 million at an average share price of $20.28. During the nine months ended September 30, 2022, we purchased and cancelled 277,200 shares of common stock, which in the aggregate equaled $6.0 million at an average share price of $21.61. As of September 30, 2022, we had $19.0 million remaining for purchase under the share purchase program. The share purchase plan expires on December 31, 2022.
Note 13—Leases
We lease administrative and operational facilities, which are generally longer-term, project specific facilities or yards, and construction equipment under non-cancelable operating leases. We determine if an arrangement is a lease at inception. We have lease agreements with lease and non-lease components, which are generally accounted for separately. Operating leases are included in operating lease assets, accrued liabilities, and noncurrent operating lease liabilities on our Condensed Consolidated Balance Sheets.
Operating lease assets and operating lease liabilities are recognized at commencement date based on the present value of the future minimum lease payments over the lease term. In determining our lease term, we include options to