A gunman shot a man on SEPTA’s Market-Frankford Line on Monday morning during a robbery attempt then died after jumping out of the moving train, police said.

SEPTA Police Chief Thomas Nestel said the gunman — whom he did not identify — approached the passenger after 6 a.m. and shot him during the robbery. The gunman then went in between the train cars and tried to jump to a catwalk, Nestel said. But he didn’t make it, and he died after being struck by the train on the 4900 block of Frankford Avenue, not far from the Arrott Transportation Center.

Police said the shooting victim, a 27-year-old man whom they did not identify, was struck in the arm and body and was in stable condition after being taken to Temple University Hospital.

Nestel said police were not seeking any other suspects in the crime.

The elevated train line was suspended between the Allegheny station and Frankford Transportation Center for several hours during the investigation. SEPTA ran shuttle buses instead.

The shooting followed a weekend in which gun violence continued at an alarming pace. Police reported three triple shootings on Saturday and Sunday, one of which injured a 3-year-old boy.

Already this year, 956 people have been shot in the city, according to police statistics, 23% more than through the same date last year.

In addition, 259 people have been slain, police statistics show — a 38% increase over last year’s pace, and a higher number of victims than in all of 2014.

The weekend’s latest homicide was Sunday night, police said, when a 48-year-old man drove to the 1st Police District in South Philadelphia at 9:20 p.m. and said an assailant had hit him in the head with a baseball bat and smashed his car windows. The victim, who had a cut over his eye, was then taken to Penn Presbyterian Medical Center and pronounced dead from his injuries at 11:18 p.m., police said.

Authorities did not identify the victim or the suspect.