Company retains the servicing rights for the sold portion. During the three months ended March 31, 2022 and 2021, loans were sold resulting in a gain on sales of SBA loans of $156,000 million and $550,000, respectively.
The Company’s factoring receivables are from the operations of Bay View Funding whose primary business is purchasing and collecting factored receivables. Factored receivables are receivables that have been transferred by the originating organization and typically have not been subject to previous collection efforts. These receivables are acquired from a variety of companies, including but not limited to service providers, transportation companies, manufacturers, distributors, wholesalers, apparel companies, advertisers, and temporary staffing companies. The portfolio of factored receivables is included in the Company’s commercial loan portfolio. The average life of the factored receivables was 38 days for the first three months of 2022, compared to 35 days for the first three months of 2021. The balance of the purchased receivables was $61.2 million at March 31, 2022, compared to $48.5 million at March 31, 2021, and $53.2 million at December 31, 2021.
The commercial loan portfolio, excluding PPP loans, increased $8.4 million, or 1%, to $568.1 million at March 31, 2022, from $559.7 million at March 31, 2021 and decreased ($26.0) million, or (4%), from $594.1 million at December 31, 2021. Commercial and industrial (“C&I”) line usage was 31% at both March 31, 2022 and December 31, 2021, compared to 28% at March 31, 2021. In addition, the Company had $37.4 million in PPP loans at March 31, 2022, compared to $349.7 million at March 31, 2021, and $88.7 million at December 31, 2021.
The Company’s CRE loans consist primarily of loans based on the borrower’s cash flow and are secured by deeds of trust on commercial property to provide a secondary source of repayment. The Company generally restricts real estate term loans to no more than 75% of the property’s appraised value or the purchase price of the property depending on the type of property and its utilization. The Company offers both fixed and floating rate loans. Maturities for CRE loans are generally between five and ten years (with amortization ranging from fifteen to twenty five years and a balloon payment due at maturity), however, SBA and certain other real estate loans that can be sold in the secondary market may be granted for longer maturities.
The CRE owner-occupied loan portfolio increased $28.9 million, or 5%, to $597.5 million at March 31, 2022, from $568.6 million at March 31, 2021, and increased $1.6 million from $595.9 million at December 31, 2021. CRE non-owner occupied loans increased $228.1 million, or 33%, to $928.2 million, compared to $700.1 million at March 31, 2021, and increased $25.9 million, or 3% from $902.3 million at December 31, 2021. At March 31, 2022, 39% of the CRE loan portfolio was secured by owner-occupied real estate.
The Company’s land and construction loans are primarily to finance the development and construction of commercial and single family residential properties. The Company utilizes underwriting guidelines to assess the likelihood of repayment from sources such as sale of the property or availability of permanent mortgage financing prior to making the construction loan. Construction loans are provided only in our market area, and the Company has extensive controls for the disbursement process. Land and construction loans decreased ($6.2) million, or (4%), to $153.3 million at March 31, 2022, compared to $159.5 million at March 31, 2021, and increased $5.4 million, or 4%, from $147.9 million at December 31, 2021.
The Company makes home equity lines of credit available to its existing customers. Home equity lines of credit are underwritten initially with a maximum 75% loan to value ratio. Home equity lines of credit increased $7.3 million, or 7%, to $111.6 million at March 31, 2022, compared to $104.3 million at March 31, 2021, and increased $2.0 million, or 2%, from $109.6 million at December 31, 2021.
Multifamily loans increased $52.9 million, or 31%, to $221.8 million, at March 31, 2022, compared to $168.9 million at March 31, 2021, and increased $2.9 million, or 1%, from $218.9 million at December 31, 2021.
From time to time the Company has purchased single family residential mortgage loans. Residential mortgage loans increased $309.0 million, or 376%, to $391.2 million at March 31, 2022, compared to $82.2 million at March 31, 2021, and decreased ($25.5) million, or (6%) from $416.7 million at December 31, 2021. The increase in residential mortgage loans at March 31, 2022, compared to March 31, 2021, was the result of the purchase of single family residential mortgage loan portfolios during 2021. During the year ended December 31, 2021, the Company purchased single family residential mortgage loans totaling $405.8 million, tied to homes all located in California, with average principal balances of approximately $853,000, and a weighted average yield of approximately 3.14% (net of servicing