Former Patriots tight end Aaron Hernandez admitted to Ernest Wallace that he shot Odin Lloyd, according to court documents attributing that allegation to a third man charged in connection with the Lloyd murder case.

Carlos Ortiz, who has been charged only with carrying an unlicensed firearm, told Massachusetts investigators that Wallace said Hernandez admitted to shooting Lloyd, according to court documents filed in Florida.

The documents were filed Tuesday by Miramar, Fla., police who were looking to obtain a warrant to justify the search of Wallace's home in Florida, according to the Associated Press.

Hernandez has pleaded not guilty to one count of first-degree murder and five gun-related charges in the June 17 death of Lloyd. Wallace is facing a charge of accessory after the fact of murder.

According to the documents, Ortiz told authorities that although he was with Hernandez and Wallace on the night of the shooting, he wasn't actually present when Lloyd was shot. According to Ortiz, the men made a brief stop on the way home so that Lloyd, Hernandez and Wallace could get out of the car and urinate while Ortiz stayed in the vehicle. 

Ortiz then heard a gunshot, which was followed by only Hernandez and Wallace returning to the car. According to Ortiz, at some point after the gunshot, Wallace told Ortiz that Hernandez admitted to shooting Lloyd.

The documents were among several released to the public on Tuesday following a Massachusetts judge's decision to make public some of the documents surrounding the first-degree murder case against the former Patriots tight end.