ALBANY — Eric Green, the teenager charged with stabbing a state trooper in the neck on the Empire State Plaza concourse almost two weeks ago, was confronted by a row of his alleged victim's colleagues as he was arraigned in Albany County Court on Wednesday morning.

A handful of Rodney Smith's fellow troopers watched quietly as Green, 18, pleaded not guilty to all charges in a five-count indictment, including attempted murder.

Green also is charged with aggravated assault of a police officer, assault and two counts of robbery, all felonies. If convicted of all charges, Green could be sentenced to life in prison.

"Hopefully, this is a person who will not see the light of day," Albany County District Attorney David Soares said Wednesday shortly after Green's arraignment. "Mr. Green is going to be held accountable."

Soares said it is unclear why Green, who is from Brooklyn, was in Albany on the day of the attack.

On March 3, Green allegedly stabbed Smith multiple times with a steak knife after Smith asked Green for identification. Investigators say Green, who is homeless, asked Smith to help him find a place to stay. Smith said he needed to check to see if Green had any outstanding warrants, and Green allegedly then stabbed Smith.

Green was arrested after a two-day manhunt across the city. He was taken into custody without incident after he was spotted walking near Western and Washington avenues.

Police said Green was formerly a student at Albany High School and still has ties to the city.

At Wednesday's arraignment, Green listed his address as in Brooklyn. Soares said Green will undergo a mental health evaluation. On the day of Green's arrest, State Police Troop G Commander Steven James said Green had run-ins with troopers in 2008 and on March 3, hours before he allegedly attacked Smith. Details of those incidents are unclear.