A State Police search of an apartment maintained by former New England Patriots player Aaron Hernandez a dozen miles from his home uncovered numerous boxes of firearm ammunition and a hooded white sweatshirt possibly worn by Hernandez on the night prosecutors allege he orchestrated the killing of an acquaintance, Odin Lloyd, according to documents on file at Wrentham District Court.

Hernandez has been charged with murder in Lloyd’s slaying, and two associates, Ernest Wallace and Carlos Ortiz, face charges in connection with the investigation. Authorities say they have recovered videotape from several security cameras that show Hernandez, Wallace, and Ortiz picking up Lloyd at his home on Fayston Street in Boston early in the morning on June 17, and then driving into a North Attleborough industrial park, where Lloyd’s body was discovered later that day.

“This sweatshirt is consistent in color and type with the sweatshirt that Hernandez is observed to be wearing on surveillance cameras the night of the homicide,” State Police wrote in an affidavit.

The late June searches a the apartment on Old West Central Street in Franklin found five boxes of .45-caliber ammunition, which is the caliber used to kill Lloyd, as well as rifle ammunition and one box of .22-caliber ammunition.

Investigators also found a hat Hernandez may have worn on a night out with Lloyd at a Boston nightclub several days before the murder, and a valet parking ticket from a hotel within walking distance of the nightclub, according to court documents.

The items were among those noted in search warrant “returns,” documents that list what police find in a search.

Ortiz apparently helped lead police to the Franklin apartment, according to the affidavit. Ortiz told police on June 25, the day before Hernandez was arrested, that he was with Hernandez on the day of Lloyd’s murder. He also told them that Hernandez, who lived at a sprawling home in North Attleborough, had another address “that not many people know about,” according to an affidavit.