Police have identified the man who died in a crash with a sheriff's deputy car on Wednesday. 

According to New York State Police, deputies approached a suspect, identified as Matthrew All, 23, of Sharon Springs, who had been accused of harassing then threatening a victim with a knife.

All fled from troopers in his vehicle and a pursuit ensued, traveling east on State Route 20. 

As All approached the intersection of Route 20 and 80, an Otsego County Sheriff's deputy was stationary in his vehicle facing west and monitoring the pursuit with his emergency lights activated.

For an unknown reason, All crossed into oncoming traffic and struck the deputy head-on.

The injured deputy, James Mateunas, has multiple leg fractures. He is recovering from surgery.

All was pronounced dead at the scene.