Police arrested an Ohio man for the 1995 sexual assault and murder of a teacher they said was a bridesmaid in his wedding.

Clayton Bernard Foreman, 61, was linked to the Texas cold case of school teacher Mary Catherine Edwards through DNA and a genealogy website that had investigators eyeing the accused killer’s family tree.

"We could track it to a family, but we couldn’t track it to an individual," District Attorney Bob Wortham told 12NewsNow.

OHIO STATE SENATOR SEEN DRIVING DURING VIDDEO MEETING ON SAME DAY THAT DISTRACTED DRIVING BILL IS INTRODUCED

Police were able to extract DNA from trash that Foreman left at the curb outside his home in Ohio and took him into custody last week, according to reports. His DNA was a match to DNA from semen found in Edwards’ home after her murder.

Edwards was found dead in the bathroom of her Beaumont, Texas home on Jan. 14, 1995, according to the Texas Department of Public Safety website. She had been drowned with her hands cuffed behind her back and her head in water in the bathtub, KJAS.com reported.

Authorities focused their attention on Foreman and found he had a previous conviction for raping a classmate in the 1980s. In that case, the victim reportedly also had her hands bound behind her back.

CLICK HERE TO GET THE FOX NEWS APP

Edwards, who was 31 when she was killed, had been a high school classmate of Foreman’s and a bridesmaid in his 1982 wedding, the report said. He and his wife divorced two years before Edward’s murder and his ex was said to have attended Edwards’ funeral.

She lived alone in her townhouse, according to KJAS, and when she didn’t answer calls her father went to the house and found her dead.

This story first appeared in the New York Post.