He knew what was coming and attempted to hide and store his electronic devices at Granite Intelligence. Lots of interesting stuff on those devices. There is always more to the story, right?

The serial sexter — whose online aliases included “Carlos Danger” — wanted to rid himself of the incriminating evidence and “facilitate transfer to the government” so he could avoid an FBI raid on the Union Square apartment he shared with his wife and young son, a source familiar with the matter said.

Granite Intelligence, which is based in Midtown Manhattan and was co-founded by a former New York City prosecutor, is “committed to resolving our clients’ problems with intelligence, integrity and discretion,” according to its Web site.

Federal agents got permission to seize the electronics on Sept. 26, 2016, and a search of the laptop turned up e-mails between Weiner’s wife, Huma Abedin, and her boss, then-Democratic presidential candidate Hillary Clinton.

The discovery led the FBI to re-open its investigation into Clinton’s use of a private e-mail server while she served as secretary of state under former President Barack Obama.

Clinton has blamed the reopening of the probe, which then-FBI Director James Comey revealed to Congress 11 days before the 2016 election, for her loss to President Trump.

Last year, Weiner tearfully pleaded guilty to transferring obscene material to a minor, breaking down as he told the judge: “I knew that was morally wrong.”

  Below is the other search warrant.

Weiner Warrant by Daniel S Levine on Scribd

Hat tip: District Judge Denise Cote unsealed the search warrant for the laptop and other devices of former Congressman Anthony Weiner on Wednesday, May 16.

Weiner was sentenced by Cote in September to 21 months in prison for sending obscene material—including sexually explicit images and directions to engage in sexual conduct—to a 15-year-old girl through messaging and video chat apps.

New York City Police obtained a search warrant on his laptop, iPad, and iPhone on Sept. 26, 2016, approved by Magistrate Judge Ronald Ellis.

The laptop soon became the center of a major controversy. However, the search warrant suggests the controversy may run deeper still.

On Nov. 4, 2016, former Navy SEAL and CIA contractor Erik Prince said “a very well-placed source” at the NYPD told him the NYPD found “damning criminal information” about then-presidential candidate Hillary Clinton on Weiner’s laptop and threatened to release it if the FBI tried to sweep it under the rug.

The FBI later obtained its own search warrant and looked at the laptop in connection with its investigation into Clinton’s mishandling of classified information as State Secretary.

But there was a notable difference between the FBI warrant and the NYPD one.

The one obtained by NYPD read, in part: “Depending on circumstances, a complete review of the seized [electronically stored information] may require examination of all of the seized data to evaluate its contents and determine whether the data is responsive to the warrant.”

The FBI one read, in part: “Law enforcement personnel will make reasonable efforts to restrict their search to data falling within the categories of evidence specified in the warrant.”

That would suggest the NYPD could look at everything, while the FBI investigators worded its warrant in a way that restricted them to look only at data regarding the mishandling of classified information.

Here’s what we know about how Clinton’s emails ended up on Weiner’s laptop and what repercussions their discovery meant:

Weiner shared the laptop with his estranged wife, Huma Abedin, a close aide to Hillary Clinton since 2000.

Hundreds of thousands of emails were stored on the laptop, including thousands from Clinton.

“Huma Abedin appears to have had a regular practice of forwarding emails to [Weiner] for him,” then-FBI Director James Comey testified at a Senate Judiciary Committee hearing on May 3, 2017. “I think, to print out for her, so she could then deliver them to [Clinton].”

The existence of the emails was also confirmed in texts between senior FBI attorney Lisa Page and former head of counterintelligence at the FBI, Peter Strzok.

%image_alt%Peter Strzok. (FBI)

“Got called up to Andy’s earlier … hundreds of thousands of emails turned over by Weiner’s atty to sdny, indudes a ton of material from spouse,” Strzok texted (pdf) Page on Sept. 28, 2016, only two days after the search warrant: “Sending team up tomorrow to review … this will never end ….”

The text suggests that then-FBI Deputy Director Andrew McCabe, referred to as Andy, knew of the emails. Strzok noted that a team would go to “review” the next day, Sept. 29, 2016.

But this timeline seems to conflict with a Chicago Tribune story, which said that law enforcement officers first seized the laptop on Oct. 3, according to “federal officials familiar with the investigation.”

The text suggests McCabe knew about the emails on Sept. 28 because Weiner’s attorney himself delivered the emails to the U.S. Attorney’s Office for the Southern District of New York. It is not clear why.

%image_alt%Then acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee on May 11, 2017. (Alex Wong/Getty Images)

It was McCabe who led a small group at FBI headquarters on the Clinton investigation. Both Strzok and Page were in that group. Comey announced the conclusion of the investigation on July 5, 2016.

The Hill reported on Nov. 6 that Strzok changed key language in that conclusion from “grossly negligent,” which would have been a crime, to “extremely careless.” Changing the phrase may have exonerated Clinton.

The Weiner laptop turned out to have a trove of Clinton’s emails containing classified information and emails from the first three months of her term as State Secretary—emails that the FBI had not obtained before, Comey said.

But, Comey said it took until Oct. 27, 2016, for their small team to come to him and tell him about the significance of the emails. The group was only looking at the emails’ metadata—such as subject, sent date, and addressee—according to Comey, and asked him whether they should get a search warrant to look at the emails themselves, which Comey approved.

Comey told Fox News’ Bret Baier he didn’t know why it took a month for McCabe to come to him, especially given the significance of the discovery only a few weeks before the presidential election.

%image_alt%Former FBI Director James Comey testifies before the Senate Intelligence Committee in the Hart Senate Office Building on Capitol Hill in Washington, D.C., on June 8, 2017. (Chip Somodevilla/Getty Images)

“I think what actually drove it was the prosecutors in New York who were working the criminal case against Weiner called down to headquarters and said, ‘Are we getting a search warrant or not for this?’ That caused, I’m sorry, Justice Department Headquarters, to then call across the street to the FBI and poke the organization; and they start to move much more quickly. I don’t know why there was, if there was slow activity, why it was slow for those first couple of weeks,” Comey said on April 26.

Indeed, at least one high-ranking Justice Department official prodded the team about the Weiner trove.

On Oct. 21, 2016, Strzok texted, “[redacted] called [because] Toscas [is] now aware NY has [Clinton-Abedin] emails via [W]einer invest[igation]. Told him we knew. Wanted to know our thoughts on getting it.”

Strzok was referring to George Toscas, deputy assistant attorney general at the Justice Department’s National Security Division.

“George wanted to ensure info got to Andy,” Strzok wrote.

It was also Toscas, who, according to The New York Times, criticised Comey for caving to Attorney General Loretta Lynch in calling the Clinton probe a “matter” instead of an investigation back in 2015.

“I guess you’re the Federal Bureau of Matters now,” Toscas said.

But it’s not clear why the New York prosecutors would call Justice Headquarters about a search warrant. They’d had a search warrant for their investigation since Sept. 26. There’s no sign they had anything to do with the Clinton investigation because that was run by the team at the FBI headquarters.

It is also not clear whether Toscas’ call was motivated by the NYPD threat of disclosure Prince talked about. Prince said the NYPD received strong pushback from Obama’s Justice Department—a threat to push charges against the NYPD in an unrelated civil rights case.

Meanwhile, the Strzok texts reveal the team had another contingency on its hands. On Oct. 24, 2016, The Wall Street Journal reported that after the Clinton probe started in July 2015, McCabe’s wife, Jill, received some $675,000 for her Virginia State Senate campaign from Clinton associate Gov. Terry McCauliffe’s political entities.

On Jan. 29, 2016, Comey appointed McCabe deputy director, putting him in charge of the Clinton investigation.

On the day Comey was briefed by the team on Oct. 27, 2016, his chief of staff, Jim Rybicki, wanted McCabe to recuse himself, the Strzok texts suggest, apparently because the public learned McCabe’s wife was getting money from the Clinton camp.

The texts also suggest Page, who was McCabe’s legal counsel, was to recuse herself too, which she apparently wasn’t thrilled about.

“I obviously don’t have to tell you how completely INFURIATED I am with Jim [Rybicki] right now,” she texted.

Later that day she added, “I Just walked in on Jim to force the issue. Me: ‘I’m not recused, but I’m not sitting in on this meeting.’” It’s not clear which meeting she was referring to.

On Oct. 28, 2016, Comey sent a letter to Congress members sitting on oversight committees informing them the Clinton investigation had resumed. The information quickly reached the media, infuriating Democrats.

The team obtained a search warrant for the laptop on Oct. 30, 2016, allowing them to retrieve it from the FBI New York Field Office.

A day later, McCabe recused himself from the investigation, codenamed “Mid Year.”

“Thanks to the wizardry of our technology, we’ve only had to personally read 6,000 [of the emails],” the team told Comey on the night of Nov. 4, he later testified before Congress. “They said, ‘we found a lot on new stuff. We did not find anything that changes our view of [Clinton’s] intent.’”

The lack of intent in being “extremely careless” with classified information was Comey’s justification for not charging Clinton back in July, 2016.

On Nov. 5, 2016, Comey sent another letter to Congress saying all the newly discovered Clinton emails had been reviewed and the previous decision stood—no charges.

Denise Simon