SANFORD, Fla. – Defense attorneys tried Tuesday to get Trayvon Martin’s text messages and cellphone photos introduced at George Zimmerman’s second-degree murder trial as they neared the finish of their presentation.

Zimmerman’s attorneys called a forensics computer analyst to tell the trial judge that text messages on Martin’s cellphone showed he was trying to buy or sell a gun. The analyst, Richard Connor, also read text messages to the judge in which Martin recounts a fight he had been in to a friend.

Jurors were out of the courtroom. The testimony was given to Judge Debra Nelson to help her decide whether to let the defense use the messages. She had ruled that information about Martin’s interest in guns and fighting couldn’t be used during opening statements, but she left open the possibility that they could be introduced later.

Prosecutor John Guy said jurors shouldn’t be presented with the text messages and photos of a gun found on Martin’s phone, as well as a Facebook posting from a half-brother asking Martin when he was going to teach him how to fight.

“It would mislead the jury and be prejudicial,” Guy said. “It doesn’t tell us about Trayvon Martin and certainly doesn’t tell us what George Zimmerman knew about Trayvon Martin.”

However, defense attorney Don West said they were relevant.

“It relates to his physical capabilities, his knowledge of fighting,” West said.

The effort to get the text messages and cellphone images introduced came after the judge said she would rule Wednesday on whether a defense animation depicting the fatal struggle between Martin and Zimmerman can be played for jurors. Prosecutors object to the animation, saying it isn’t an accurate depiction.

Earlier in the day, defense attorney Mark O’Mara told the judge the defense would likely rest on Wednesday.

An expert on gunshot wounds testified Tuesday that the trajectory of the bullet and gunpowder on Trayvon Martin’s body support Zimmerman’s account that the unarmed black teenager was on top of the neighborhood watch volunteer when the defendant shot and killed Martin.

Forensic pathologist Dr. Vincent DiMaio also used photographs of Zimmerman to point out where he appeared to have been struck. His testimony took up a significant portion of the day’s hearing. Defense attorneys were hoping DiMaio’s testimony would help convince jurors of Zimmerman’s claims that he shot Martin in self-defense.

DiMaio, who was hired by the defense, said the muzzle of Zimmerman’s gun was against Martin’s clothing and it was anywhere from 2 to 4 inches from Martin’s skin.

“This is consistent with Mr. Zimmerman’s account that Mr. Martin was over him, leaning forward at the time he was shot,” said DiMaio, the former chief medical examiner in San Antonio.