For the second time in two years, a Pennsylvania judge has dismissed charges against an Amtrak engineer who was driving a speeding train that derailed in Philadelphia in 2015, killing eight people.

The engineer, Brandon Bostian, 36, faced more than 200 charges in the May 2015 derailment, including one count of causing catastrophe, a felony, and several counts of involuntary manslaughter and reckless endangerment, both misdemeanors.

Just before the derailment, Mr. Bostian had accelerated the train to 106 miles per hour as it entered a curved section of track with a 50 m.p.h. speed limit. The train then careened off the track and into Philadelphia’s Port Richmond neighborhood.

In dismissing the charges on Tuesday, Judge Barbara McDermott of the Philadelphia Court of Common Pleas sided with Mr. Bostian’s lawyer in ruling that the mistakes he made did not constitute a crime. “The law recognizes we’re all human,” the judge said, according to The Associated Press.