BROOKLYN - The first winter storm of 2014 shut down the New York City public school system Friday.

The snowstorm dumped several inches of snow across the city.

The blizzard-like conditions and freezing temperatures lasted through Friday morning, making travel extremely dangerous.

Mayor Bill de Blasio urged all New Yorkers to stay off the roads, a warning that was echoed by Gov. Andrew Cuomo when he issued a statewide state of emergency Thursday night, advising everyone to avoid driving if possible.

Officials said that subways and buses would continue running, but delays and some disruptions should be expected. Alternate side parking rules were suspended, and tow trucks were standing by for any stalled cars on the roads.

The winter storm warning was in effect until 1 p.m. Friday.