Advertising and Marketing Expenses. Advertising and marketing expenses were $47.6 million for the quarter ended June 30, 2020 compared to $26.6 million for the quarter ended June 30, 2019, an increase of $21.0 million, or 79%. This increase primarily consisted of increased digital advertising, member engagement and acquisition initiatives, and sponsorship of professional organizations of $19.9 million and increases in employee-related expenses and others of $1.1 million. Advertising and marketing expenses were $80.1 million for the six months ended June 30, 2020 compared to $53.0 million for the six months ended June 30, 2019, an increase of $27.0 million, or 51%. This increase primarily consisted of increased digital advertising, member engagement initiatives, sponsorship of professional organizations of $24.3 million, as well as increased employee-related expenses of $2.7 million.
Sales Expenses. Sales expenses were $18.7 million for the quarter ended June 30, 2020 compared to $15.8 million for the quarter ended June 30, 2019, an increase of $2.9 million, or 18%. This increase primarily consisted of increased staffing and sales commissions of $4.3 million offset by a decrease to other sales expenses, such as conferences and travel of $1.4 million. Sales expenses were $36.6 million for the six months ended June 30, 2020 compared to $32.0 million for the six months ended June 30, 2019, an increase of $4.6 million, or 14%. This increase primarily consisted of increased staffing and sales commissions of $6.6 million offset by a decrease to other sales expenses of $2.0 million
Technology and Development Expenses. Technology and development expenses were $23.0 million for the quarter ended June 30, 2020 compared to $16.7 million for the quarter ended June 30, 2019, an increase of $6.3 million, or 38%. This increase resulted primarily from hiring additional personnel totaling $4.1 million and other professional expenses of $2.2 million. Technology and development expenses were $42.3 million for the six months ended June 30, 2020 compared to $32.7 million for the six months ended June 30, 2019, an increase of $9.6 million, or 29%. This increase resulted primarily from hiring additional personnel totaling $5.9 million and increases in other expenses of $3.7 million.
Legal and Regulatory Expenses. Legal and regulatory expenses were $2.2 million for the quarter ended June 30, 2020 and consistent when compared to $2.0 million for the quarter ended June 30, 2019, an increase of $0.2 million. This increase resulted primarily from increased expenses to support litigation activities. Legal and regulatory expenses were $3.5 million for the six months ended June 30, 2020 and consistent when compared to $3.6 million for the six months ended June 30, 2019, a decrease of $0.1 million. This decrease was primarily driven by the timing of costs associated with litigation activities.
Acquisition and Integration Related Costs. Acquisition and integration related costs, incurred primarily in connection with integration activities of prior acquisitions as well as costs associated with the In Touch Technologies, Inc. acquisition, were $1.6 million for the quarter ended June 30, 2020 compared to $1.1 million for the quarter ended June 30, 2019, an increase of $0.5 million. Acquisition and integration related costs, incurred in connection with these acquisitions, were $5.3 million for the six months ended June 30, 2020 compared to $2.1 million for the six months ended June 30, 2019. The 2020 and 2019 acquisition and integration related costs represent investment banking, financing, legal, accounting, consultancy, integration, fair value changes related to contingent consideration and certain other non-recurring transaction costs related to mergers and acquisitions.
General and Administrative Expenses. General and administrative expenses were $54.4 million for the quarter ended June 30, 2020 compared to $38.5 million for the quarter ended June 30, 2019, an increase of $15.8 million, or 41%. This increase was driven primarily by an increase in employee-related expenses of approximately $7.2 million resulting from growth in total employee headcount to 2,727 at June 30, 2020 as compared to 2,256 employees at June 30, 2019 reflecting increased employee costs including to support the increase volume of activities due to COVID-19. Other expenses, such as office-related charges, professional fees and bank charges, increased by $8.6 million for the quarter ended June 30, 2020 as compared to June 30, 2019. . General and administrative expenses were $99.5 million for the six months ended June 30, 2020 compared to $74.5 million for the six months ended June 30, 2019, an increase of $25.0 million, or 34%. This increase was driven primarily by an increase in employee-related expenses of approximately $11.8 million resulting from growth in total employee headcount including to support the increase volume of activities due to COVID-19. Other expenses, which include office-related charges, professional fees and bank charges, increased by $13.1 million for the six months ended June 30, 2020 as compared to the six months ended June 30, 2019, to support the growth of our business.