The Aaron Hernandez murder trial continued on Tuesday as prosecutors played a police surveillance video of the former NFL star allegedly dismantling his cellphone on the day after he allegedly killed his friend Odin Lloyd.

The jury was shown a video of the ex-New England Patriots player taking apart his cellphone while sitting in the passenger side of his lawyer's car, which was parked outside a police station, said the prosecution. The 25-year-old professional athlete was also seen using his lawyer's phone to call co-defendant Ernest Wallace, although jurors weren't told the phone belonged to his lawyer.

Detective Michael Elliot of the North Attleboro Police Department in Massachusetts also testified on Tuesday that Hernandez came to the station that night and that he used a surveillance camera to videotape him outside the police station, reports the Associated Press.

According to Elliot, after Hernandez dismantled the phone, he put it "back together and powered it up," he said, reports ABC News.

The defense had fought to keep the surveillance video from being brought into evidence, but Superior Court Judge E. Susan Garsh issued a ruling in favor of the prosecution on Friday, explaining that Hernandez had no expectation of privacy while inside a parked car in a public lot.

Also on Tuesday, Mark Archambault testified that he had installed six digital cameras and set up a security system in Hernandez's home back in May 2013. He added that Hernandez inquired about shutting off the camera in the basement in order to prevent his fiancée see him "hanging out with his friends."

Prosecutors argue that Hernandez and his two friends drove the victim, Odin Lloyd, "to a secluded, isolated area in North Attleborough, a town where Odin Lloyd knew no one but the defendant and the defendant's fiancée, Shayanna Jenkins. There Odin Lloyd was shot 6 times. He was killed, and he was left in a secluded area," said Bristol County prosecutor Patrick Bomberg, according to The Boston Globe.

On the other hand, the defense argues that Hernandez is being targeted for his celebrity status. Hernandez's lawyers have also pointed out that the suspect and the victim were friends and that any evidence that Hernandez was at the murder scene is not proof that he killed, conspired to kill or wanted to kill him.