Settling a whistleblower lawsuit, Planned Parenthood agreed to pay a total of $4.3 million for allegedly billing Medicaid millions of dollars for women’s health services between 2003 and 2009.

In July, Karen Reynolds, an ex-employee of the company’s Texas affiliate, Planned Parenthood Gulf Coast, filed her case under the False Claims Act, which entitles her to 30 percent of any recovered money. Now she’ll be getting $1.2 million, according to ABC affiliate KTRE.

Read More: Undeterred By Hurdles, Gov. Perry Signs Texas Abortion Bill

Reynolds had worked at the Lufkin, Texas Planned Parenthood clinic until 2009, when she was fired for refusing to help with the cover-up for an employee who had been handing out pharmaceuticals without authorization, according to the complaint filed by her attorney, Mike Love.

In addition, Reynolds claimed that the organization had billed Texas Medicaid, Title XX, and the Women’s Health Program items and services, such as birth control, STD testing, and contraceptives, which were deemed unnecessary.

Planned Parenthood denied the claims, yet still agreed to settle.

Read More: Texas Democrat Seeks To Tie Abortion Restrictions To Death Penalty — When Pigs Fly

“Continuing this litigation in the hostile environment for women’s health would have ensured a lengthy and costly process that would have distracted our energies and required us to share the private medical information of thousands of women,” the company said via a spokesperson, according to The Guardian.

While the state of Texas will receive just over $700,000 from the settlement, the federal government will get the largest amount, at $3.5 million.

“We are very pleased to settle this matter for an amount of money that addresses what was, in the government's view, an abuse of programs that are extremely important to the well-being of many American women," U.S. Attorney Malcolm Bales said. "We will remain ever vigilant to protect the interests of American taxpayers and the integrity of the Medicare and Medicaid health programs. I am particularly grateful to the whistleblower for bringing the matter to our attention."

Read More: Wendy Davis Fact: Texas Women Defend Their Abortion Rights With Filibuster

Planned Parenthood Gulf Coast operates 12 clinics in southeast Texas and Louisiana. The Lufkin clinic was one of three closed due to a bill that tightened restrictions for abortion providers throughout Texas. Abortions were not performed at the clinic, but at hospitals some distance away. Under the new legislation doctors who perform abortions must have admitting privileges within 30 miles of the clinic.