EVERETT, Wash. (AP) — Police using DNA evidence say they have arrested a 77-year-old man in the 1972 killing of a young woman.

Terrence Miller of Edmonds, Washington, was arrested Wednesday. Police say he fatally shot 20-year-old Judy Loomis and left her partially-clothed body in a heavily wooded area. Miller faces a charge of first-degree premeditated murder and is being held on $1 million bail. It wasn’t immediately clear if he had an attorney.

Genetic genealogy led Snohomish County detectives to Miller. Based on DNA from a boot that Loomis was wearing, a genealogist built a family tree for the suspect.

Last summer, the genealogy research pointed to an Edmonds family with six brothers and a sister. One was Miller. At the time of the killing, he lived a few blocks north of the crime scene. He had been accused of sex crimes at least five times since the 1960s, according to charging papers.

Undercover police watched Miller sipping a cup of coffee at the Tulalip Resort Casino in August 2018. He tossed the cup in the garbage. Officers swooped in to dig it out, so that Miller’s DNA could be compared to the genetic profile on Loomis’ boot.

A state crime lab confirmed it was a match.