The so-called "mastermind" of the infamous Slenderman stabbing will not be going to trial – or to prison.
Morgan Geyser, 15, agreed to a plea deal with prosecutors in Waukesha County, Wisconsin, Friday morning.
The agreement acknowledges the teen "meets the standard for being found not guilty by mental disease," the Milwaukee Journal Sentinel reports.
And in exchange for pleading guilty to attempted first-degree intentional homicide, she'll be sent to a mental hospital for at least three years, according to Courthouse News.
The deal avoids a trial, which was due to begin next month. If Geyser had been found guilty by a jury, she could have been sentenced to up to 45 years in prison.
This comes nearly two weeks after her accomplice, 15-year-old Anissa Weier, also avoided prison time in her own trial. The jury ruled she was not guilty due to mental illness.
Like Geyser, she'll be committed to a psychiatric hospital until at least 2020.
More on the case
The two girls – who were 12 at the time of the stabbing – admitted to luring the victim, a fellow classmate, into the woods in 2014 and stabbing her 19 times – all at the bidding of Slenderman (or Slender Man), a boogeyman-like character created on the internet.
The victim survived, and the case made national headlines. It emerged that Geyser had been diagnosed with early-onset schizophrenia, and psychologists later testified the two suspects had a "shared delusional disorder."
Geyser is said to have ultimately committed the stabbing while Weier urged her on.