A Colorado dentist has been charged with killing his wife and the mother of his six children by spiking her protein shakes with arsenic and cyanide so that he could start a new life with his lover, according to court documents.

James Toliver Craig, 45, was arrested Sunday on one count of first-degree murder for allegedly fatally poisoning his wife, Angela Craig, who was pronounced brain-dead March 15 and later taken off life support.

As his 43-year-old spouse lay dying in the hospital, Craig allegedly flew his orthodontist lover from Austin to Denver, with whom he had exchanged "sexually explicit emails," according to a detailed arrest affidavit.

The charging document described the couple's troubled marriage, financial difficulties and Craig's alleged sinister plot to murder her.

COLORADO DENTIST CHARGED WITH MURDER AFTER ALLEGEDLY POISONING WIFE

Angela and James Craig smiling in a family portrait.

Colorado dentist James Craig is accused of fatally poisoning his wife and the mother of his six kids, Angela Craig. (Facebook)

"In totality, this investigation has proven that James has gone to great lengths to try and end his wife's life," Aurora police Detective Bobbi Olson wrote in the affidavit. 

On Feb. 27, Craig created a secret email account, jimandwaffles.com, which he only used at a computer in his now-shuttered Summerbrook Dental Group, investigators said.

"While using this account, he researched multiple ‘undetectable poisons,’" court papers said. His Google history revealed searches for "How many grams of pure arsenic will kill a human?" and "Is Arsenic Detectable in Autopsy?"

A family portrait of the Craigs.

Angela and Colorado dentist James Craig are shown in a family portrait. James has been charged with first-degree murder for allegedly poisoning his wife. (Facebook)

He ultimately purchased crystalline metalloid arsenic from Amazon.com, which was delivered March 4 to the family's $1.3 million home, police said.

The next day, Angela Craig returned from a trip to Utah. On March 6, the couple worked out together and James made her a "pre-workout shake in which James gave her extra protein because she was feeling sluggish," according to the affidavit.

JARED BRIDEGAN MURDER: FLORIDA STATE ATTORNEY ANNOUNCES ARREST IN MICROSOFT EXEC'S SLAYING

Hours later, she complained of feeling faint and dizzy and was admitted to the hospital but discharged the same day.

"I feel drugged," Angela Craig texted her husband. Her sister told police that James Craig had drugged his wife about five years earlier because he had planned to commit suicide and didn't want her to stop him.

Text messages between James and Angela Craig

A text message exchange between Angela Craig and her husband, James Craig, who is charged with her murder. On March 6, when she first became ill, he implied he'd drugged her before. Angela Craig's messages are in blue. (Aurora Police Department)

"Given our history, I know that must be a trigger," he replied to his wife in a text. "Just for the record, I didn't drug you. I am super worried though. You really looked pale before I left. Like your lips even."

That night, her husband allegedly ordered oleandrin, another poison, which was intercepted before delivery.

ALASKA MAN ARRESTED IN COLORADO MURDER FOR SECOND TIME AFTER WITNESSES COMES FORWARD

The dentist was soon back at his keyboard allegedly ordering more poison, police said. On March 8, he allegedly purchased a rush delivery of potassium cyanide, which arrived at his dental office on March 13.

Meanwhile, his wife had been readmitted to the hospital on March 9, where she remained for five days, aligning with a two-day visit from his paramour, according to authorities.

James Craig

Two photos of dentist James Craig, who is accused of murdering his wife, Angela Craig. (Facebook)

On March 15, one day after Angela Craig was discharged from the hospital, she was readmitted and "started to suffer from a severe seizure," the affidavit says. She was rushed to the intensive care unit and pronounced brain-dead. James Craig's mistress returned to Denver the next day.

COLORADO AVALANCHE KILLS SKIER OUTSIDE ASPEN HIGHLANDS

Her sister, Toni Kofoed, told investigators that the couple's marriage had always been "tumultuous" and that James Craig had "multiple affairs with several women" and was "addicted to pornography since he was a teenager."

Angela Craig told her sister several times over the past 16 years that she planned to leave him, but he always convinced her to stay. The couple was also broke and on the verge of declaring bankruptcy for a second time, the documents allege.

Angela Craig had complained to her sister that her husband had recently gambled away more than $2,000 on a trip to Las Vegas.

Police launched an investigation after James Craig's business partner, Ryan Redfearn, reported his suspicion that the dentist had poisoned his wife.

CLICK TO GET THE FOX NEWS APP

Redfearn confronted James Craig about the cyanide that was delivered to the dental office. Craig allegedly claimed that his wife asked him to order it, implying it was so she could commit suicide. 

"At that point, Ryan told James to stop talking and get a lawyer," the affidavit says.