BOSTON (CBS/AP) – A man who was with the two people killed allegedly by Aaron Hernandez in Boston in 2012 testified at a pre-trial hearing Tuesday that Hernandez was the gunman in the attack.

Hernandez was back in Suffolk Superior Court Tuesday as a judge heard arguments on motions filed by his lawyers in his upcoming double murder trial.

READ MORE: MCAS Would Be Scrapped As Graduation Requirement Under Proposed Bill
Aaron Hernandez in Suffolk Superior Court, Dec. 20, 2016. (WBZ-TV)

Aaron Hernandez in Suffolk Superior Court, Dec. 20, 2016. (WBZ-TV)

Hernandez is charged in the July 2012 fatal shootings of two men he encountered at a Boston nightclub.

Prosecutors say Hernandez gunned down the men after one of them bumped into him. The former New England Patriots tight end has pleaded not guilty in the deaths of Safiro Furtado and Daniel de Abreu.

Daniel de Abreu (left) and Safiro Furtado (right).

Daniel de Abreu (left) and Safiro Furtado (right).

Aquilino Freire and Raychides Sanches, two men who were in the car with Furtado and de Abreau when they were killed, were called to testify in a motion hearing Tuesday.

Hernandez’s attorneys want to limit the testimony of both men, who may be able to identify Hernandez as the shooter that night.

Sanches took the stand first, telling the court before shots were fired, everything was quick and that someone in another vehicle pulled up to them, said something, pulled out a gun and started shooting.

An unidentified woman started crying in the courtroom as Sanches described the shots fired into the car.

The defense attorney suggested to Sanches that he didn’t have a good idea of the description of the vehicle used by the gunman in shooting.

READ MORE: Parents Call For Remote Learning Option For Mass. Students Not Yet Eligible To Be Vaccinated
Raychides Sanches in Suffolk Superior Court, Dec. 20, 2016. (WBZ-TV)

Raychides Sanches in Suffolk Superior Court, Dec. 20, 2016. (WBZ-TV)

Sanches said after the shooting, “we was in panic… crying… it was crazy.”

When the defense attorney asked Sanches to describe the shooter, he referred to Hernandez.

Sanches said when he left the car after the shooting he had a lot of blood “all over” his clothes.

The second survivor of the shooting, Aquilino Freire, is expected to testify Wednesday afternoon.

The judge will determine what testimony will and won’t be allowed at Hernandez’s trial, which is set to begin in February.

Hernandez already is serving a life sentence in the 2013 murder of Odin Lloyd.

MORE NEWS: Hundreds Protest Outside UMass Fraternity After Allegations Of Sexual Assault

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)