Trooper Andrew Sperr saw a truck pulled over about a mile away from the bank.

State Police say Sperr stopped to investigate, was shot several times and died. Sperr did return fire and wounded two of men.

State Police say a second car was there to help the bank robbers get away. On Thursday, they found that car abandoned in the Town of Ashland.

Troopers say whoever was in it, is considered armed and dangerous.

State Police filed first degree murder charges against 45 year old Brian Adams of Breesport and 33 year old Anthony Horton of Elmira.

Adams was shot once in the back and is in critical condition.

State Police found him after he was taken to St Joseph's Hospital.

Horton was shot four times and was arrested after calling 911 from a motel in Ashland. He is in fair condition at Arnot Ogden Hospital.

Thirty-three year old Andrew Sperr was originally from Rochester and was a 10-year veteran of the New York State Police.

He was the youngest of 11 children, but was not married and did not have children of his own.

While speaking about the shooting Wednesday night, Superintendent Wayne Bennett said State Police share the family's grief over the loss of Sperr in the line of duty.

"Our trooper did his job today, too. It cost him his life, but he prevented these people from successfully getting away with this bank robbery, and lord knows what would have happened if they found themselves in circumstances with private citizens," said Bennett.

Bennett says Sperr was a field training officer at the barracks in Horseheads. He was looked up to as a leader in the troop.

State Police say the autopsy is not complete and funeral arrangements have not been made yet.