A federal judge on Friday sentenced disgraced Theranos CEO Elizabeth Holmes to more than 11 years in prison for duping investors in the failed startup that promised to revolutionize blood testing but instead made her a symbol of Silicon Valley’s culture of audacious self-promotion.

The sentence imposed by U.S. District Judge Edward Davila was shorter than the 15-year penalty requested by federal prosecutors but far tougher than the leniency her legal team sought for the mother of a year-old son with another child on the way.

Also read: Elizabeth Holmes trial: Federal prosecutors push 15-year sentence for disgraced Theranos CEO

Holmes, who was CEO throughout the company’s turbulent 15-year history, was convicted in January in the scheme, which revolved around the company’s claims to have developed a medical device that could detect a multitude of diseases and conditions from a few drops of blood. But the technology never worked.

The sentencing in the same San Jose, California, courtroom where Holmes was convicted on four counts of investor fraud and conspiracy in January marks another climactic moment in a saga that has been dissected in an HBO documentary and an award-winning Hulu series about her meteoric rise and mortifying downfall.

Holmes, 38, faced a maximum of 20 years, but her legal team asked the judge for a sentence of no more than 18 months, preferably served in home confinement.

Also read: Theranos’ Elizabeth Holmes asks for reduced prison time because she has been ‘mocked and vilified’

Her lawyers argued that Holmes deserved more lenient treatment as a well-meaning entrepreneur who is now a devoted mother with another child on the way. Their arguments were supported by more than 130 letters submitted by family, friends and former colleagues praising Holmes.

Prosecutors also wanted Holmes to pay $804 million in restitution. The amount covers most of the nearly $1 billion that Holmes raised from a list of sophisticated investors that included software magnate Larry Ellison, media mogul Rupert Murdoch and the Walton family behind Walmart.

While wooing investors, Holmes leveraged a high-powered Theranos board that included former Defense Secretary James Mattis, who testified against her during her trial, and two former secretaries of state, Henry Kissinger and the late George Shultz, whose son submitted a statement blasting Holmes for concocting a scheme that played Shultz “for the fool.”

Also read: Elizabeth Holmes’s bid for new trial fails

Holmes must report to prison on April 27. After giving birth to a son shortly before her trial started last year, she became pregnant at some point while free on bail this year.

Although her lawyers didn’t mention the pregnancy in an 82-page memo submitted to the judge last week, the pregnancy was confirmed in a letter from her current partner, William “Billy” Evans, that urged the judge to be merciful.

If Holmes’ pregnancy had a role in determining her sentence, the decision could prove controversial. A 2019 study found that more than 1,000 pregnant women entered federal or state prisons over a 12-month study period; 753 of them gave birth in custody.

According to a 2016 survey by the Bureau of Justice Statistics, more than half of women entering federal prison — 58% — reported being mothers of minor children.

Also read: Elizabeth Holmes case: Courtroom drama intensifies ahead of sentencing

Federal prosecutor Robert Leach declared that Holmes deserves a severe punishment for engineering a scam that he described as one of the most egregious white-collar crimes ever committed in Silicon Valley. In a scathing 46-page memo, Leach told the judge he has an opportunity to send a message that curbs the hubris and hyperbole unleashed by the tech boom.

Holmes “preyed on hopes of her investors that a young, dynamic entrepreneur had changed healthcare,” Leach wrote. “And through her deceit, she attained spectacular fame, adoration and billions of dollars of wealth.”

Even though Holmes was acquitted by a jury on four counts of fraud and conspiracy tied to patients who took Theranos blood tests, Leach also asked Davila to factor in the health threats posed by Holmes’ conduct.

Holmes’ lawyer Kevin Downey painted her as a selfless visionary who spent 14 years of her life trying to revolutionize health care.

Also read: From Silicon Valley star to ‘fraud’: Who is Theranos founder Elizabeth Holmes

Although evidence submitted during her trial showed the blood tests produced wildly unreliable results that could have steered patients toward the wrong treatments, her lawyers asserted that Holmes never stopped trying to perfect the technology until Theranos collapsed in 2018.

They also pointed out that Holmes never sold any of her Theranos shares — a stake valued at $4.5 billion in 2014, when Holmes was being hailed as the next Steve Jobs on the covers of business magazines.

Defending herself against criminal charges has left Holmes with “substantial debt from which she is unlikely to recover,” Downey wrote, suggesting that she is unlikely to pay any restitution that Davila might order as part of her sentence.

“Holmes is not a danger to society,” Downey wrote.

Also read: Allen Weisselberg, Trump Organization ex-CFO: Trump children raised pay after learning of scheme

Downey also asked Davila to consider the alleged sexual and emotional abuse Holmes suffered while she was involved romantically with Ramesh “Sunny” Balwani, who became a Theranos investor, top executive and eventually an accomplice in her crimes.

Balwani, 57, is scheduled to be sentenced Dec. 7 after being convicted in a July trial on 12 counts of fraud and conspiracy.