Update: The York County Coroner's Office has identified the man shot by police as Joseph Penderghest, 40, of Herndon, Va.

An autopsy is scheduled Monday morning.

Previous story: Pennsylvania State Police officers shot and killed an out-of state man who came at them with a knife early Saturday morning in Springfield Township, according to a state police press release and the York County coroner's office.

Police responded to reports of a car crash at about 1:10 a.m. When they arrived on the scene at the 6600 block of Reynolds Mill Road, they found that a car had hit several parked cars and a telephone pole, according the the press release.

The driver, a 40-year-old man, was sitting in his car, cutting himself with an 8-inch folding knife, the release said.

The man refused to stop cutting himself, so the officers used pepper spray and tasers on him, according to the release.

At that point, the man advanced toward the troopers, still holding the knife, the release said.

The officers fired their guns, fatally wounding the man. The York County coroner's office said the man was pronounced dead at the scene.

Pennsylvania State Police, the York County DA's office, and the York County coroner are all investigating.

An autopsy with toxicology is scheduled for Monday, the release said.

The coroner's office will not release the man's name before notifying his next of kin.