Carlos Ortiz, one of the alleged accomplices in the Aaron Hernandez case, says he was told that Hernandez said he killed Odin Lloyd.

According to court documents released Tuesday, Ortiz told police that Ernest Wallace, a second alleged accomplice, told him the day after the shooting that Hernandez admitted to killing Lloyd.

After Lloyd was shot near Hernandez's home in North Attleborough, Mass., Ortiz and Wallace returned to Bristol, Conn. That is where, according to court records made public in Florida Tuesday, Ortiz told police that Wallace said Hernandez shot Lloyd.

Investigators learned Ortiz had a previously scheduled meeting with his probation officer on June 25 and were present when he arrived.

"Prior to the interview, Mr. Ortiz was given his Miranda warnings and informed investigators that he wished to speak with them about events that occurred in Massachusetts. The interview was audio and video recorded and is preserved on DVD media," the warrant states.

The documents were drawn up to justify a search of Wallace's home in Miramar, Fla., where Wallace was arrested about 10 days ago.

Also Tuesday, warrants obtained to search Hernandez's home were unsealed, showing an uncooperative Hernandez slamming his door and locking it when officers told him they were investigating a death. The documents show surveillance video of Hernandez in his home shortly after Lloyd was killed, with what appears to be a gun in his hands.