The state Superior Court on Monday upheld the conviction in Beaver County of Gregory Scott Hopkins in the 1979 murder of Catherine Walsh, 23.

Hopkins, 67, a former Bridgewater councilman, was convicted of third-degree murder in November 2013 in Beaver County Common Pleas Court and was sentenced in February to eight to 16 years in prison.

Among several issues he raised on appeal was his contention that the DNA evidence used to convict him was improperly obtained. Hopkins had been charged in 2012 with the killing after DNA analysis found his previously undetected DNA on the victim’s nightgown, a bed sheet and the rope used to bind her hands.

Police were able to obtain DNA from a drinking cup that Hopkins had discarded at the Bridgewater municipal building and match it to the items from the old murder scene. Among Hopkins’ claims was that the collection of the cup from the trash was a violation of his right to privacy.

But the Superior Court ruled that he gave up any “reasonable expectation of privacy in his cup, and the DNA on that cup, when he discarded it in a trash can, which was available to and accessible by the public, and which was emptied daily.”