JAKARTA, Indonesia — 

Severe flooding hit Indonesia’s capital as residents were celebrating the New Year’s, killing at least four people, displacing thousands and forcing the closure of a domestic airport.

Tens of thousands of revelers in Jakarta were soaked by torrential rains as they waited for New Year’s Eve fireworks.

Agus Wibowo, spokesman for the National Disaster Mitigation Agency, said Wednesday that monsoon rains and rising rivers submerged at least 90 neighborhoods.

Wibowo said the dead included a 16-year-old high school student who was electrocuted while more than 19,000 people were in temporary shelters after floodwaters reached up to 10 feet in several places.

Television video and photos released by the agency showed dozens of cars floating in muddy waters while soldiers and rescuers in rubber boats were struggling to evacuate children and the elderly who were holding out on the roofs of their squalid houses.

The floods inundated thousands of homes and buildings in poor and wealthy districts alike, forcing authorities to cut off electricity and water supplies and paralyzing transport networks, Wibowo said.

Polana Pramesti, director general of civil aviation, said the floods also submerged the runway at Jakarta’s Halim Perdanakusumah domestic airport, prompting authorities to close it and stranding some 19,000 passengers.

Flooding also highlighted Indonesia’s infrastructure problems as it tries to attract foreign investment.

Jakarta is home to 10 million people, or 30 million including those in its greater metropolitan area. It is prone to earthquakes and flooding and is rapidly sinking due to uncontrolled extraction of groundwater. Congestion is also estimated to cost the economy $6.5 billion a year.

President Joko Widodo announced in August that the capital will move to a site in sparsely populated East Kalimantan province on Borneo island, known for rainforests and orangutans.