Jerusalemites awoke Friday morning to a city covered in white, as a rare and punishing winter storm dumped several centimeters of snow on the capital, shutting it down and stranding thousands of people on area roads.

And it’s not over. After setting a December record for snowfall on Thursday with some 30-50 centimeters across the country, flurries are expected to continue in Jerusalem throughout the day Friday.

Police and rescue services instructed residents to avoid driving in private vehicles into and out of the capital and avoid going out at all, except in cases of emergency. The two main arteries into Jerusalem, Routes 1 and 443, were shut down Thursday night and authorities said they would remain closed until further notice.

Public transportation into and out of the city has been called off until at least Saturday evening.

Police were also preparing for floods on the Ayalon Highway in Tel Aviv Friday morning as rainfall and thunderstorms continue.

Police and Israel Defense Forces crews worked throughout the night and into the morning to rescue travelers in cars and buses stranded on the roads leading into Jerusalem, at one point putting out a public call for help from anybody with a 4X4 vehicle.

Around 2,000 people were rescued from vehicles during the night, according to Israel Radio. Jerusalem Mayor Nir Barkat, who requested help from the army and police, said he hoped the operation would end Friday morning.

“We are expending every effort to rescue all the people caught in the storm. Only after [the snow] stops will we be able to open the roads,” he said in a statement. “We’re facing a rare storm the likes of which we’ve never seen.”

In the capital and in a number of places throughout the country, schools were shut down due to the snow and heavy rainfall, which left some streets flooded.

Throughout the night, hundreds of travelers were evacuated to shelters set up at convention centers in the city, including the International Convention Center, or Binyanei Hauma.

Power outages also plagued the capital and the surrounding areas through the night, leaving many without heat to seek shelter there as well.

The city said it sheltered 540 people at the convention center and rescued 11 buses trapped in the storm.

Though snow is not unheard of in Jerusalem, it rarely hits this early.

The wet weather, typical of an early winter storm, combined with unusually low temperatures to blanket the capital and other mountainous areas, including the West Bank, the Galilee and the Golan Heights, in snow.

Elsewhere, heavy rains and punishing winds brought down trees and flooded out roads.

In Modi’in Ilit, a 1-year-old baby was moderately injured late Thursday night after a roof collapsed on a modular building being used a synagogue. Four other people were lightly injured.

On Thursday, the IDF’s elite 669 search and rescue unit retrieved 10 trapped passengers from a commercial vehicle that was swept away by flood waters in Nahal Gerar, north of Beersheba. The passengers, nine of whom were children, were airlifted to Beersheba’s Soroka Medical Center in fair condition.

Classes in Jerusalem and other areas were called off Thursday and Friday as authorities braced for snowfall to continue into the weekend.

The Education Ministry set up a hotline for parents to get information about school arrangements. The number is 02-6222211.

The snow began falling in Jerusalem shortly after sunrise Thursday and thin layers of snow began to form on cars. In elevated neighborhoods such as Gilo, the snow piled up, and residents huddled in bus stops, waiting for buses that had temporarily stopped running.

By Thursday night, flurries were reported as low as the settlement of Beit Horon, which at 630 meters above sea level, rarely sees snow fall.

The stormy weather was expected to persist into the weekend, with snow reaching elevated areas as far south as the Negev Desert on Friday.

On Wednesday, high winds, torrential rain and floods inflicted damage in many areas, with some injuries caused by flying debris.

Snow in Jerusalem, Thursday, December 12, 2013 (photo credit: Mitch Ginsburg/Times of Israel)

Snow in Jerusalem, Thursday, December 12, 2013 (photo credit: Mitch Ginsburg/Times of Israel)

Over 24 hours between Wednesday and Thursday morning, some 103 millimeters (four inches) of rain — the monthly average — fell in the capital and 35 mm (1.4 inches) in Tel Aviv.

There were several incidents of people caught in flash floods that swept their cars away.

One man was reported missing after storm waters rushed through a wadi where he was hiking in the Judean desert.

Flash flood chasers streamed down to wadis around the Dead Sea region in the hope of catching the storm waters as they pounded down from the Jerusalem mountains, but some became trapped as roads were flooded in the surge.

Jerusalem authorities had prepared to counter the snow, with 90 tons of salt as well as snowplows being readied. Other municipalities in the country’s north had also braced for snowfall, notably Safed and neighboring towns in the mountainous northern Galilee and elevated communities in the Golan Heights.

“Snow in Jerusalem is a cause for celebration for Jerusalemites and the many visitors who come to see the world’s most beautiful city painted white,” said Barkat, who dropped in on the city’s public works department to check on preparations for the storm Wednesday. “We hope the snow won’t disappoint, especially for Jerusalem’s excited children, who are looking forward to it.”

Inclement weather was also felt in the Gaza Strip, where Hamas’s health ministry said 30 people were evacuated to hospitals after heavy rains caused flooding on Wednesday. Gaza’s Interior Ministry said the roof collapsed on a house in the coastal strip, injuring three people, and families were moved into shelters because of flooding.

The Associated Press contributed to this report.