In a relatively rare event for a rail transit system, a man who jumped onto Metrorail tracks in the District on Saturday night survived the encounter with an oncoming train, authorities said.

The Red Line train arriving at the Judiciary Square station around 9 p.m. stopped in time to avoid inflicting serious injuries, a Metro spokeswoman said.

It “made minor contact” with the man, said Metro spokeswoman Caroline Lukas. She said he was removed from the outbound track and taken to a hospital.

Trains shared a track between the Dupont Circle and NoMa-Gallaudet stations for about an hour after the incident, adding to the usual delays resulting from weekend track work.

Since 2009, more than 30 people have jumped in front of Metro trains; 26 have died. A suicide prevention program has been instituted.