Two girls accused of stabbing a friend to please a mythical figure known as Slender Man were declared mentally fit to stand trial on attempted homicide charges, a judge of a Wisconsin court ruled Thursday. Morgan Geyser, 12, and Anissa Weier, 13, reportedly stabbed their classmate 19 times in May.

State experts reportedly concluded that the two girls, who were 12 at the time of the incident, were competent to stand trial, but their lawyers disagreed with their findings.

Two psychologists testified for the defense saying that they had interviewed Weier several times, but she had trouble making decisions and failed to understand the nuances of the criminal justice system, The Associated Press (AP) reported. Psychiatrist Robert Rawski reportedly testified for the state saying that he believed the girl was highly capable to stand trial. Ted Szczupakiewicz, an assistant district attorney, said that the two defense psychologists' reports revealed that the girl gave correct answers to questions related to the legal system, AP reported.

"I'm satisfied that the issues of age and maturity do not override her competency," Waukesha County Circuit Judge Michael Bohren reportedly said. "She's [Weier] competent to make the decisions that have to be made."

The judge reportedly ordered a second hearing for Geyser, but it was later waived after her lawyer agreed with a doctor’s opinion that she was competent to stand trial.

The judge has reportedly set a joint preliminary hearing for February where it would be decided if there was enough evidence to proceed to trial.

The two girls had previously told investigators that they lured their friend into the woods near Geyser’s home in the southeastern city of Waukesha. The girls had read about Slender Man on the horror storytelling website “Creepypasta Wiki,” they said.

According to the criminal report, the girls, who attended Horning Middle School with the victim, invited her to play a game in the woods.