A man died in an accident that happened when he stepped on a train track while training his dog.

The accident happened Wednesday afternoon at the Washington-Milwaukee International Airport.

The Milwaukee County Medical Examiner’s office said the man died at the scene.

The cause of death is unknown at this time.

Officials said the train had a collision on the southbound train and a train of similar size collided on the northbound train.

The train’s engine exploded.

The tracks were covered in debris and were in need of repairs.

The Washington-Madison Metropolitan Area Transit Authority said trains at the airport had been delayed due to the fire.