One of the most chilling murder cases in New York history ended Wednesday as Rex Heuermann — the architect who pleaded guilty to killing eight women and scattering their bodies in sandy stretches of Suffolk County — was sentenced to life in prison without the possibility of parole in a Long Island courtroom.

Justice Timothy Mazzei sentenced Heuermann to three life sentences followed by another 100 years, all to be served consecutively, according to prosecutors.

In April, the Massapequa Park man pleaded guilty to murdering Melissa Barthelemy, Maureen Brainard-Barnes, Megan Waterman, Amber Lynn Costello, Sandra Costilla, Jessica Taylor and Valerie Mack from 1993 to 2010. He also admitted to killing an eighth woman, Karen Vergata, in 2007. Almost all of the women were sex workers in their 20s.

Relatives of several of the women spoke emotionally in court Wednesday about the pain Heuermann, 62, had inflicted.

“The victims gave the unvarnished information and truth about what this defendant — what he did and the effect it had,” Suffolk County District Attorney Ray Tierney said at a press conference after the sentencing. “I was so pleased and inspired and proud of the victims.”

Tierney said the women’s relatives portrayed them as more than just two-dimensional characters.

“There’s much more nuance to things,” he said. “The family members knew the victims better than anyone, and they really, better than anyone, were able to really tell you what those women were about.”

Heuermann also addressed the courtroom, saying he was responsible for the crimes and telling the judge “yes” when asked if he was sorry, News12 Long Island reported.

Suffolk County District Attorney Ray Tierney asked a judge to send Heuermann to prison for the rest of his life without the possibility of parole, to account for the women who “were needlessly and brutally murdered” and the harm he caused to the women’s families, Newsday reported.

Suffolk County Police Commissioner Rodney Harrison told Gothamist that he thought Heuermann ultimately pleaded guilty to prevent further embarrassing his family at trial with details that show the depravity of what he was doing.

“He was a deviant human being. He did some very, very disgusting things and he knows if he goes to trial, these things will come out and the level of embarrassment to his family will be enormous,” Harrison said in April.

Heuermann's arrest came after more than a decade of investigative dead ends. In December 2010, a Suffolk County police officer and his K9 partner found human remains near the beach during a routine training exercise. Soon after, authorities found three more sets of human remains. But investigators struggled for years to identify a suspect, leaving victims' families without answers.

Detectives closed in on Heuermann as a suspect after combining clues about his stature and car, pulling cellular data, and investigating his internet use, which showed that he was engaging with sex workers online. The big break finally came in July of 2023, when detectives matched DNA from one of Heuermann’s discarded pizza boxes to DNA found on the initial four women discovered along Gilgo Beach.

Investigators later uncovered a “planning document” on Heuermann’s laptop that had been created around 2000, where he referred to the places where he hid the women’s bodies as “DS,” or “dump sites,” according to the Suffolk County district attorney’s office. He also described his preferred victims, with statements like “SMALL IS GOOD” in the document, according to prosecutors.

Heuermann has agreed to cooperate with the FBI's Behavioral Analysis Unit, which will interview him in the hopes of learning more about how serial killers operate. He has been housed in the county jail in Riverhead since his arrest in July 2023, but will serve out his term in a state prison. Outside of court, Tierney said he expected Heuermann to be transferred to prison by the end of the week.

“Suffolk wants to be rid of him,” the DA said.

This story has been updated with additional information.