Health care giant Centene will pay $19 million to Washington state to resolve a longstanding allegation that the company overcharged the state’s Medicaid program for its pharmacy benefit services.

The resolution is the second-largest Medicaid fraud recovery for the state, Attorney General Bob Ferguson and the Washington State Health Care Authority said in a statement Wednesday.