Here is how the pieces of the puzzle were put together, according to Sacramento County District Attorney Anne Marie Schubert, who described the process to ABC News as "dogged detective work."
Years later, in the early 2000s, investigators were able to obtain DNA from the unknown killer at one crime scene: the 1980 double murder of Lyman and Charlene Smith. Lyman Smith and his wife were bludgeoned to death in their Ventura County, California, home.
One of those counties was Contra Costa, where recently retired investigator Paul Holes led the charge to use a genealogy website to find the killer, said Schubert. Holes spent nearly 25 years on this case, she said.
A few months ago, investigators plugged the mystery killer's DNA into a genealogy database.
Based on the pool of people on the genealogy website, investigators were then able to build a family tree of the unknown killer’s relatives. They say they narrowed the search based on age, location and other characteristics, eventually leading them to DeAngelo.
Authorities surveilled DeAngelo and collected his discarded DNA. About six days before DeAngelo's arrest, investigators plugged his discarded DNA back into the genealogy database and found a match, linking DeAngelo's DNA to the DNA gathered at multiple crime scenes, she said.
"We found the needle in the haystack," Schubert said at a news conference Wednesday.
DeAngelo was taken into custody on Tuesday at his home in Sacramento County, the same county where his alleged 10-year crime spree began.
He appeared in court Friday and did not enter a plea. He returns to court May 14.