Gilberto Valle, a NYPD cop, accused of plotting to kidnap, rape and cook women, was turned in by his estranged wife, Kathleen Mangan.

She found his deranged plans and tipped off the FBI, in September, before taking their year-old-baby girl out of New York, sources told the New York Daily News newspaper.

Mangan, a schoolteacher, said that  she discovered his “tactical plans” on her computer. Her husband has used her laptop because his own had crashed.

What she discovered was pages and pages of plans and description of the cruel and brutal acts. One of the documents he referred to as a “blueprint” for the  “Abduction and Cooking” of his victims.

A law enforcement source told the New York Post “When she saw what was on the computer, what he was into, she literally ran out of the house with just the clothes on her back.”

Magan, who is “beyond distraught”, has fled to her hometown of Reno, Nevada.

Valle (28) had been a police officer, for six years, a married man and a father. All the while he was living a double life, plotting horrendous crimes.

His online writings reveal his plans to kidnap, torture, “slow cook” and eat women, whom he found using law enforcement databases. He used police surveillance to track these women and even used his position to worm his way into their lives.

Among the depraved writings his wife found was a description of the torture and cooking which he planned.

He wrote “I was thinking of tying her body on to some kind of apparatus, cook her over a low heat, keep her alive as long as possible.”

Over instant message, to one of his co-conspirators, he bragged that his oven was “big enough to fit one of these girls if I folded their legs”.

On Thursday, at Valle’s arraignment in the Manhattan Federal Court, Hadassa Waxman, the prosecutor in the case said it was only a matter of time before the NYPD officer had acted on his desires.

Waxman said “If he was not arrested, he would have carried out this plan."

Read more: FBI investigates NYPD officer’s involvement in plot to cook and eat women

The prosecution told the court that Valle had spied on one woman while in his uniform and behind the wheel of a police cruiser.

Valle’s defense lawyer Julia Gatto said the officer’s behavior was nothing more than “fantasy talk” and lies on online chat sites.

Gatto said “Nobody has been injured. Nobody has been taken.

“It is, at best, someone who is living a fantasy on the Internet, a deviant fantasy. But there is no actual crossing the line from fantasy to reality.”

The Magistrate Judge Henry Pittman denied Valle bail. He described the allegations as “very, very serious, unspeakable conduct.”

Valle kept dossiers of at least 100 potential victims. He chose the unsuspecting victims from federal and state law-enforcement databases searching for names, photos, dates of birth, height, weight and even bra sizes.

The FBI has interviewed ten of the women from his hit list. They all confirm they know the cop and said they were stunned.

One of the women confessed that she had had lunch with the cop in Baltimore, in July.

Days before their lunch date Valle had written;

“I love that she is asleep right now, not having the slightest clue of what we have planned/

“Her days are numbered. I’m glad you’re on board. She does look tasty doesn’t she?”

His coconspirator message back “You do know if we don’t waste any of her, there is nearly 75 lbs of food there.”

Manhattan US Attorney Preet Bharara commented on Valle’s crimes saying “This case is all the more disturbing when you consider Valle’s position as a New York City police officer and his sworn duty to serve and protect.”

Valle is a native of Forest Hills, in Queens. He graduated from Archbishop Molloy High School in 2002, and studied psychology at the University of Maryland.

In 2006 he joined the New York Police Department and recently took the sergeant’s exam. He has now been suspended without pay.

His younger brother told reporters on Thursday “He’s a nice guy. I’m upset.” His brother said that although he has not spoken to his brother, he denied the charges.

Here’s Dick Brennan’s CBS News report: