This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

NEW YORK — As heavy rain swept through the tri-state area, subway platforms — and in some cases, even the sidewalks and steps leading to them — flooded, creating a dangerous headache for commuters.

And the worst is likely still yet-to-come, with Tropical Storm Elsa headed up the coast.

Pre-Elsa effects: Transit delays, road closures and traffic woes from severe weather

Some New York City roadways and subway stations temporarily became bodies of water after the deluge of rainfall flooded traffic lanes and station platforms.

Straphangers posted videos of the underground mess.

In some cases, water cascaded from above down onto subway platforms and tracks.

Stairs turned to waterfalls.

Local leaders slammed the infrastructure failings.

Elsa aims for NY, NJ: Storm timeline, rain totals, wind speeds and more

Brad Lander, likely the next New York City comptroller, said the city’s “infrastructure is not ready for the climate crisis.”

He wasn’t alone.

The troubling scenes come as legislators battle over infrastructure spending in Washington.

MTA officials said crews were addressing the situation.

Flood waters had receded in many stations by late Thursday evening.

More than 30,000 lose power across NJ, NY amid severe storms

The water issues weren’t just below ground, either. Some drivers on the Major Deegan Expressway in the Bronx needed emergency assistance when the water got too deep on one side of the road.

Other roadways also suffered from flooding, snarling traffic in many parts of the area.

The first showers in our area associated with Elsa moved in as early as Thursday afternoon, with more scattered thunderstorms likely into the evening.

The brunt of Elsa’s rain and wind will sweep through the tri-state region during the overnight hours and into Friday morning.

This is the period when torrential downpours could develop, leading to possible flash flooding on roadways in our area. Local rivers and streams could end up overflowing before sunrise, as well.

The MTA’s Acting Senior VP Demetrius Crichlow explained more about Thursday’s subway station flooding on the PIX11 Morning News on Friday: