Theranos just agreed to refund 175,000 people in Arizona who took its tests

Anyone who paid to take one of Theranos's blood tests in Arizona will be receiving a refund from the company, Arizona's attorney general said on Tuesday.

In total, Theranos will pay the state $4.65 million to refund the tests, and will also pay $225,000 to cover civil penalties and attorneys' fees.

"Between 2013 and 2016, Theranos sold approximately 1.5 million blood tests to more than 175,000 Arizonans," the attorney general said in a news release. "Each customer will now be reimbursed the full amount the customer paid for testing regardless of whether the results were voided or corrected."

As part of the settlement, Theranos has to pay $30,000, and the company won't be able to own or operate a clinical lab within the next two years. In return, the CMS is no longer revoking Theranos's CLIA certification, which is needed to run a blood-testing lab.

In October 2016, Theranos pivoted to focus solely on developing its technology instead of simultaneously operating clinical laboratories. The end goal? Getting its miniLab machine (which only requires a small amount of blood to function) in places that have difficulties sending full blood samples to a traditional, full-blown clinical lab operation.

The technology debuted in August as part of Theranos' attempt to be what CEO Elizabeth Holmes called a "decentralized" lab, meaning the test could be processed without needing to be shipped back to a brick-and-mortar lab.

Theranos' saga came into the spotlight in October 2015 after The Wall Street Journal published an investigation that questioned the accuracy of Theranos' blood test.

The company still faces lawsuits from investors, patients, and its once partner Walgreens, which ended its relationship with Theranos in June 2016 and is accusing Theranos of breaching its contract. Theranos has said it will "respond vigorously to Walgreens' unfounded allegations."