Theranos founder Elizabeth Holmes has managed to get some of allegations against her dropped.

A judge ruled on Tuesday that Holmes can't be pursued by federal prosecutors for allegedly defrauding patients and doctors with Theranos' faulty blood-testing machines.

The dismissal only constitutes a small win for Holmes' lawyers, who had pushed to get all charges against the tech founder thrown out.

Visit Business Insider's homepage for more stories.

Elizabeth Holmes, the founder behind infamous blood-testing startup Theranos, has managed to get some of the charges against her dropped.

The dismissal is not a complete win for Holmes' legal team, who had pushed to get all counts against Holmes thrown out on the basis the indictment against her was too vague and "full of fudging language."

Holmes was indicted along with Theranos president Ramesh "Sunny" Balwani in July 2018 after Theranos' spectacular collapse. Once valued at over $9 billion, the company crumbled after stories emerged about the company's tech — which it claimed was able to perform an immediate and accurate blood-test from just a single drop of blood — was unreliable.

The pair were indicted on 11 counts of wire fraud and conspiracy to commit wire fraud for allegedly deceiving doctors, patients, and investors about the capabilities of the company's blood-testing tech.

Holmes' trial is due to start in August, and CNBC reported that the original 11 counts could result in a 20 year prison sentence for Holmes and Balwani if found guilty. It's unclear how the reduced counts will impact sentencing.

A federal judge ruled on Tuesday dismissed charges that Holmes and Balwani defrauded doctors and patients by offering the blood tests because the money for the tests came out of patients' insurance, and therefore meant the patients suffered no financial loss, the SF Gate reported.