The first nine months of 2013 started off as a banner year for the Sackler family, owners of the pharmaceutical company that produces OxyContin, the addictive opioid pain medication. Purdue Pharma paid the family $400 million from its profits during that time, claims a lawsuit filed by the Massachusetts attorney general.

However, when profits dropped in the fourth quarter, the family allegedly supported the company’s intense push to increase sales representatives’ visits to doctors and other prescribers.

Purdue had hired a consulting firm to help reps target “high-prescribing” doctors, including several in Massachusetts. One physician in a town south of Boston wrote an additional 167 prescriptions for OxyContin after sales representatives increased their visits, according to the latest version of the lawsuit filed Thursday in Suffolk County Superior Court in Boston.

The lawsuit claims Purdue paid members of the Sackler family more than $4 billion between 2008 and 2016. Eight members of the family who served on the board or as executives as well as several directors and officers with Purdue are named in the lawsuit. This is the first lawsuit among hundreds of others that were previously filed across the country to charge the Sacklers with personally profiting from the harm and death of people taking the company’s opioids.