A pair of Iowa teenagers accused of murdering their high school Spanish teacher will be tried as adults when their case heads to court in November, a judge has ruled. 

District Judge Shawn Showers ruled Thursday that Willard Miller, 16, of Fairfield, Iowa, will be tried as an adult in November on a first-degree murder charge in the beating death of 66-year-old Nohema Graber, who taught at Fairfield High School. Miller’s alleged accomplice, 17-year-old Jeremy Goodale, learned Wednesday he, too, would be tried as an adult.

BORDER OFFICERS FIND 6 HUMAN SKULLS IN PACKAGES SHIPPED TO THE US

Willard Miller, an Iowa teenager accused of helping kill his high school Spanish teacher last year has learned he will be tried as an adult

Willard Miller listens during a reverse waiver hearing, Friday, May 6, 2022, at the Jefferson County Courthouse in Fairfield, Iowa.  (Joseph Cress/Iowa City Press-Citizen via AP File)

Speaking during Miller’s Thursday court appearance, the judge said the juvenile court system would not have enough time to rehabilitate Miller "for a crime of such magnitude." If found guilty, the juvenile system would not have been able to detain Miller more than six months past his 19th birthday.

Miller and Goodale were both 16 when they were arrested in Graber’s killing. Graber’s body was found Nov. 3 hidden under a tarp, a wheelbarrow and railroad ties at a Fairfield city park. Police said she had been beaten to death with a baseball bat.

The county attorney prosecuting the case said in past court documents the pair surveilled Graber’s pattern of life, ambushed her along her daily walk and dragged her into the woods, returning later to better hide her lifeless body.

Goodale will face a first-degree murder trial in adult court

Jeremy Everett Goodale, center, enters the courtroom as defense attorney Allen Cook, left, looks on before a reverse waiver hearing in Fairfield, Iowa on April 28, 2022.  (Nick Rohlman/The Gazette via AP, Pool, File)

NEW YORK POLICE TO RELEASE 911 CALLS IN COLD CASE LONG ISLAND SERIAL KILLER INVESTIGATION

Graber, 66, was reported missing Nov. 2 and her remains were found later that day in a park. Authorities earlier confirmed she had suffered "inflicted trauma to the head." 

Fairfield is about 95 miles southeast of Des Moines.

CLICK HERE TO GET THE FOX NEWS APP

The Associated Press contributed to this report.