An Anchorage man who was charged with first-degree murder last week after a digital memory card containing images of a brutal attack on a woman in a hotel was found on the street has also confessed to an earlier killing, officials said on Thursday.

Brian Steven Smith, 48, who was arrested on Oct. 8 in the death of Kathleen Jo Henry , 30, whose body was found on Oct. 2 on Seward Highway, told the authorities that he had fatally shot Veronica R. Abouchuk , 53, “sometime between 2017 and 2018,” according to court documents and the police. He was charged on Thursday with first-degree murder in Ms. Abouchuk’s death.

Ms. Abouchuk’s remains were found in April on Old Glenn Highway, according to the police. She was identified on Oct. 11 using information from Mr. Smith and dental records, court papers show. The police said in a missing person alert in July that she was homeless and that her family had not seen her for one year.

In an interview with the police, Mr. Smith admitted to being the man seen on the images and videos strangling and beating Ms. Henry in September at a midtown hotel in Anchorage, according to court records. In the same interview, he also confessed to shooting Ms. Abouchuk and told the police where he disposed of her remains, the records show. This year, Alaska state troopers found a skull with a gunshot wound in that area, the authorities said.