When Nichole came along, the 20-year-old Dube jumped out and snatched her, duct-taped her and put her in the back of his father's pickup truck, the affidavit said. Dube later discovered that she was dead, so he dumped her body and covered it with branches, it said.
The affidavit doesn't go into details about how Nichole was duct-taped, and the cause of her death is still being determined by the medical examiner's office.
Dube told his brother that he "intended to kidnap Nichole and hide her; that he would later find her and be the hero," Pickering wrote.
Dube's attorney, Stephen Smith, did not immediately return a phone call left at his office Wednesday evening. He had argued for the affidavit to be withheld, citing threats against Dube in jail, concerns about whether he could get a fair trial and fears for the privacy of his relatives.
Earlier Wednesday, Justice William Anderson had denied a motion by The Associated Press and the Portland Press Herald to unseal the affidavit on First Amendment grounds.
The judge's original order had sealed the affidavit only until Dube was indicted. When the indictment was handed down, the affidavit was made public.
Nichole was reported missing on May 13 by her mother, who said she had left the night before to meet a friend at the end of the driveway but hadn't returned.
Police interviewed a friend of Nichole's named Bryan Butterfield, who said somebody had set up a fake Facebook account in his name and he suspected Dube. Butterfield told detectives that Dube wanted to have sex with Nichole but that she had rejected his advances, the affidavit said.
Investigators determined that Nichole had frequent contact with the fake Butterfield on Facebook and that the person posing as Butterfield repeatedly requested to meet with her before she agreed to meet with him at the end of her road to get some marijuana the night she went missing, the affidavit said.
Police asked Facebook officials to produce records to identify the owner of the fake Butterfield account, which was traced to Dube and his parents' home in Orono.
When a detective interviewed Dube's girlfriend, Sarah Mersinger, she reported that Dube told her where he left Nichole's body. Dube's brother, Dustin Dube, then told police what he knew.
Dozens of law enforcement officers, using aircraft and dogs, and hundreds of civilian volunteers had spent days searching for Nichole, whose body was found on the night of May 20. About 300 people turned out for her funeral.