New York state filed civil charges accusing Johnson & Johnson of insurance fraud for downplaying the risks of opioid painkillers, including to doctors and elderly patients.

AbbVie Inc. agreed to pay $24 million to settle a lawsuit that alleged insurance fraud by the drugmaker in promoting the company’s blockbuster drug Humira, California’s insurance regulator said.