A 15-year-old teen testified today against the man he said brought him along on a deadly marijuana robbery in Allentown.

The teen's testimony during Charles Washington's preliminary hearing brought tense moments to the courtroom, and emotions intensified when a man in the audience allegedly took a photo of the teen as he testified. A sheriff's deputy said in court the photo was posted to Facebook.

Signs are posted in central court warning that cellphones are not allowed and reminded onlookers before the hearing that cellphones are prohibited.

The man's phone was immediately confiscated by deputies and he was taken out of the courtroom.

"I'm gonna charge him with something," said an angry Lehigh County First Assistant District Attorney Steve Luksa after today's hearing. Luksa asked detectives to get a search warrant for the iPhone and said people taking photos during court hearings and posting them to social media have been a recurring problem.

Following Washington's hearing, homicide, robbery and related charges against him were forwarded to Lehigh County Court, where he now faces possible trial. The 19-year-old Washington remains in county prison without bail.

The teen was identified in court records as JR and today only used his first name -- Jason -- to identify himself. The teen was charged as a juvenile with robbery and conspiracy in the April 13 armed robbery. Those records are confidential.

Jason testified that earlier in the day, Washington got into two fights back-to-back with the same person in the 100 block of East Cumberland Street -- but it was unrelated to the robbery.

After the fight, Jason and Washington went to the boy's house and Washington spoke on the phone with someone known as "Thirty-Shot," later identified as Kelvin Harris. Harris came to Jason's house and gave Washington what he believed was a .40 caliber semi-automatic pistol, according to testimony.

"He said we were gonna go rob somebody," Jason said, much later testifying "He said 'I'm gonna do a lick (a favor) for Thirty-Shot, come with me.'"

Washington's girlfriend then gave the boy a black revolver, and the boy and Washington walked up an alley, Jason testified. At one point they passed an elderly lady sitting on a porch and Washington shielded his face from her and told Jason to do the same, the boy testified.

The pair made their way to East Cumberland Street and as they got closer to a white car, Jason said, Washington told him to go to the passenger side.

"I started getting scared a little bit ... then I'm just watching from then on," Jason said.

Washington walked up to the driver's side of the white Honda, fired twice at the man inside -- later identified as Blackledge -- and then reached into the car and removed something, records say.

Jason said he was "shocked out of my mind" and while Washington ran away immediately, it took a few seconds before he ran away, too.

"I didn't never seen nobody die in front of me," Jason said.

Blackledge was shot in the cheek and neck and died from his injuries, prosecutors previously said. Both times Jason testified about Blackledge's shooting, a woman in the courtroom audience broke down in tears.

The boy said that after the shooting he tried to go to a cousin's house, but when no one was home he ended up at Terry's house in the 600 block of South Carldon Street in Allentown. Jason said he left the revolver there and police later found a .38 caliber revolver with six live rounds.