PROSPECT HEIGHTS — A man was killed when a tractor trailer slammed into him near the Barclays Center Wednesday afternoon, officials said.

The man, who police said was in his late 40s, was hit as he crossed between cars at the intersection of Flatbush and Atlantic avenues about 12:50 p.m., an FDNY spokesman said.

The victim was pronounced dead at the scene, police said.

The truck remained at the scene and the investigation was ongoing, police said Wednesday evening.

Witnesses described a grisly scene immediately following the collision.

"People were running toward it," Muhammed Karim, who was selling soda nearby. "I got scared and queasy and had to leave."

Intersections on Flatbush Avenue near the Barclays Center have been problematic for a long time, according to neighbors familiar with the area.

“It’s always been a very busy intersection and it’s always been a bit of a nightmare crossing it,” James Knock, 31, told DNAinfo.com New York after a man was killed by a sanitation truck outside the Barclays Center last year.