The New England Patriots were alerted within hours that police wanted to talk to tight end Aaron Hernandez after a body was found not far from his house.

A North Attleborough police detective testified Friday that he and a state trooper went to Hernandez's home after they found Odin Lloyd's body in June 2013. Lloyd had in his pocket the key to a Chevy Suburban Hernandez had rented.

Hernandez didn't answer after repeated knocks, and they went to a neighbor's home. That neighbor was Patriots assistant coach Joe Judge, who called Patriots security.

The detective said Hernandez eventually came out and agreed to go to the police station.

Hernandez's lawyer noted that police were peering into his home and there was no requirement that he open the door so late.