A young man, who was 16-years-old at the time, is on trial in Saskatoon accused of second-degree murder in the shooting death of Charlotte Jolly in Sept. 2009. (CBC)

There were a few tense moments in a Saskatoon court room Wednesday when a witness, testifying at a second-degree murder trial, almost came to blows with the accused.

Neither person can be identified because of a publication ban. The person on trial was under 18 at the time of the alleged killing.

Charlotte Dawn Jolly, 19, was shot and killed Sept. 1, 2009, in Saskatoon. Jolly and a group of friends had been out celebrating her birthday when she was shot on the street.

The woman and the accused youth did not know each other.

The young man's lawyer, Morris Bodnar, has said his client does not dispute he shot the woman but said Monday the issue of intent will play a major role in his defence.

The court has not yet heard the defence case.

On Wednesday, a Crown witness was on the stand for much of the day. The witness was with Jolly's group on the night of the shooting. He was also under 18 at the time.

The atmosphere in the court room grew increasingly tense as Bodnar launched into an aggressive cross-examination of the young man.

In a series of tense exchanges, Bodnar tried to get the witness to confirm testimony given at an earlier stage in the court process.

But the youth either denied what he said at the preliminary hearing or said he couldn't remember.

Several times, instead of answering Bodnar's questions, the youth directed obscenities at the accused.

When his testimony was over, he walked past the prisoner's box and called the accused "a goof."

At that, the young man on trial jumped to his feet and both men faced-off, ready for a physical confrontation.

Two police officers were very close by and quickly subdued the witness and hustled him out of court.

More testimony to come

Earlier in the trial, the court heard how the group Jolly was with had encountered another group of teens in a west-side Saskatoon alley.

One of those teens had a rifle with him, which had been taken from a stolen car.

The trial continues with more Crown witnesses on Thursday.