A 22-year-old woman has pleaded guilty to murdering her best friend after a man online promised to pay her $9 million for photos of the murder.

Denali Brehmer pleaded guilty in an Anchorage, Alaska courtroom on Wednesday to the first-degree murder of Cynthia 'CeeCee' Hoffman, 19, in 2019.

Hoffman was found dead with a gunshot wound to the back of her head and bound with duct tape after she went missing on the Thunderbird Falls hiking trail.

According to a statement from the Alaska Department of Justice, Denali, 18 at the time, killed Cynthia Hoffman, 19, in 2019 after a bribe from someone online.

The person in question had nothing personal with Brehmer's close friend. He had simply asked that the entire crime be filmed.

Brehmer's sentencing is set for Aug. 22 and he could face 30 to 99 years in prison.

In June 2019, Hoffman, Brehmer and their mutual friend, Kayden McIntosh, 19, were hiking at Thunderbird Falls in Chugiak, Alaska, when Hoffman went missing.

Hoffman's body was found two days later, bound with duct tape, with a gunshot wound to the back of the head.

In 2019, the "man" online was identified as Darin Schilmiller, then 21, from Indiana. According to court records, he was charged with conspiring to kill Hoffman.