CARY, N.C. (WNCN) — A pedestrian died after a wreck on Interstate 40 that closed all four eastbound lanes for nearly three hours Saturday afternoon and evening.

The crash occurred shortly before 5 p.m. at mile marker 291 near Cary Towne Boulevard.

The pedestrian, a man, died after he was hit by at least one car along I-40, according to Raleigh police.

Traffic was backed up in both directions of Interstate 40. Several emergency vehicles were at the median near Cary Towne Boulevard.

While lanes were closed, a detour was set up for traffic heading east on I-40.

All traffic was flowing again just after 7:45 p.m., according to the North Carolina Department of Transportation.

The name of the man who died was not released Saturday night.