FAIRFIELD, Maine — Documents filed Thursday at the Somerset County Courthouse indicate that Valerie Tieman of Fairfield died from two gunshot wounds to the head.

Her husband, Luc Tieman, has been charged with murder in her death.

Luc Tieman, 32, of Fairfield was taken into custody about 10 a.m. Wednesday by Maine State Police detectives who found him on Kennedy Memorial Drive in Waterville, near a hotel where he had spent the night, Maine Department of Public Safety spokesman Stephen McCausland said at that time.

According to the affidavit, which was released on Thursday and first made public by WGME, Luc Tieman told state police that his wife died from a heroin overdose.

The body of 34-year-old Valerie Tieman was found Tuesday in a wooded area in Fairfield behind the house at 628 Norridgewock Road that she shared with her husband and his parents, McCausland said in a news release issued Wednesday.

According to information initially provided to police by Luc Tieman, Valerie Tieman last was seen Aug. 30 at Wal-Mart in Skowhegan.

She was reported missing to Fairfield police on Sept. 9 by her parents, who live out of state, McCausland said. They were concerned because of the length of time that had passed since they last heard from her. According to the affidavit filed Thursday by state police detectives, their last contact with their daughter was on Aug. 18 through a Facebook message.

State police joined the investigation into Valerie Tieman’s disappearance on Sept. 13.

Luc Tieman initially told police that he had gone into Wal-Mart on Aug. 30 and that his wife was missing from the truck when he returned a short time later.

His story changed at least twice since then, the affidavit indicated.

When state police became involved in the case on Sept. 13, Detective Hugh Landry went to the Skowhegan Wal-Mart around 11:30 a.m. and saw a red pickup that matched the description given for Luc Tieman’s Chevrolet Silverado in a back parking lot. The detective followed the truck when it left the lot.

Landry pulled Tieman over and told him that he was going to review video footage related to his wife’s disappearance. Tieman said he had gone to Wal-Mart that day because it was the last place he had seen his wife. Landry asked him to come to the state police barracks to speak with him further.

Tieman told the detective that before his wife disappeared, his sister was coming to visit his parents and that his sister and wife did not get along. Because of that, he said, they went to stay with friends at 61 Main St. in Norridgewock.

A few days later, however, he said that his wife told him that she wanted to take the truck and leave him. He said he told her not to leave and that he would take her to Wal-Mart to get food, the affidavit said.

Tieman told detectives that once they arrived around dusk, his wife refused to go in the store so he took the keys with him so she would not drive off. He claimed she was gone when he left the store and that he texted her in an attempt to find her.

Detectives later determined, however, that Tieman’s truck did not show up on surveillance footage showing the back lot from 5 to 11 p.m. daily from Aug. 21 through Aug. 31.

Tieman also said he did not want to say who he and his wife were staying with in Norridgewock but offered to show police the house.

When detectives told Tieman that they wanted to speak with those residents, he changed his story, according to the affidavit.

“Luc advised that Valerie had never stayed in the home in Norridgewock and that it was the home of a ‘rebound girl.’”

Tieman reportedly told detectives that he had “started talking to” the woman when his wife told him she was “talking to someone else.”

“The pair struck up a friendly relationship and he immediately said he wanted to be with her romantically,” Landry wrote. The two met in person on Aug. 24 at a pool party in Waterville.

At the party, the woman said, Tieman told her that he and his wife were having marital problems.

Detectives examining Tieman’s cellphone records found Valerie Tieman’s last call to her husband was on Aug. 24 and lasted 13 minutes and 33 seconds.

The woman told police that about a week later, Tieman began staying at her home every night. She said Tieman told her his wife had met someone else.

Valerie Tieman’s body was found on Sept. 20 when state police executed a search warrant at Tieman’s parents’ home at 628 Norridgewock Road in Fairfield. Her partially buried body was found in a wooded area 200-300 feet behind the house, police said.

When told that his wife’s body had been found, Tieman’s story changed again.

Detectives said Tieman initially denied any knowledge of the body but later acknowledged that the body was his wife. Tieman told police that she had a drug addiction and that he brought home heroin and loaded a needed for her.

“Luc said Valerie took the needle and injected herself with the heroin. Luc said Valerie smiled at him and then stopped breathing,” the affidavit said. Tieman then told detectives that he later took her outside, dug and trench and buried her.