CHICAGO (STMW) — A 34-year-old man died early Thursday after walking into traffic and being struck by a taxi in the North Side Rogers Park neighborhood.

The accident happened at the intersection of Sheridan Road and Pratt Boulevard about 3:45 a.m., police News Affairs Officer Amina Greer said.

The man was crossing the street when he was struck by a taxi that was headed south on Sheridan, News Affairs Officer Jose Estrada said. The taxi had the green light and it was not known why the man walked into traffic, police said.

He was taken in critical condition to Saint Francis Hospital in Evanston, Greer said. A spokesman for the Cook County Medical Examiner’s office said he died there of his injuries.

The pedestrian was later identified as Michael Shaffer of the 6700 block of North Glenwood Avenue.

The taxi driver was issued a citation for striking a pedestrian in the roadway, according to Estrada.

Some CTA buses on two routes were rerouted but resumed their normal routes by 6 a.m.

The police Major Accident Investigation Unit is investigating.