A pharmaceutical company accused of illegally using benefits to entice physicians to prescribe its dermatology drugs has settled those claims with the federal government for $3.5 million, the U.S. Attorney’s Office for the Eastern District of Pennsylvania has announced.

According to the settlement agreement, Spanish drugmaker Almirall, formerly known as Aqua Pharmaceuticals, will make the payment to resolve claims that between 2012 and 2017, it used its sales representatives and other employees to treat physicians to meals, entertainment, trips, gift cards and gifts to coax them into prescribing its drugs. Prosecutors also claim that Aqua hired doctors for speaking engagements, advisory boards and consulting services for the same reason. Almirall maintains executive offices in Exton.