A powerful rainstorm hammered New York City on Monday evening, flooding streets in Brooklyn and Staten Island and downing trees in the metro area.

The thunderstorm moved into the city soon after 6 p.m., packing torrential downpours after two days of upper-90-degree heat this weekend and temps in the high 80s on Monday.

In Brooklyn, video shows a fearless pedestrian crossing a street soaked in knee-high water in Williamsburg Monday evening.

The unidentified woman, shielding her head from the rain with an umbrella, crosses Wallabout Street and Throop Avenue as filled garbage bags float in the flooded streets and lightning crashes in the sky, the video shows.

In Staten Island, water flooded streets in the Westerleigh section of the borough, according to footage posted on social media. One image, posted by Twitter user @Jrtrejo, shows water in the streets that reaches midway up a car’s tire.

“Westerleight, Staten Island… insane!!” the Twitter user wrote in the caption of the photo.

City Council Speaker Corey Johnson reported a number of areas in the city hit by flooding.

In Queens, intersections hit especially hard by the flooding included The Long Island Expressway and Francis Lewis Boulevard, the Brooklyn Queens Expressway and Metropolitan Avenue, and the Clearview Expressway at Northern Boulevard, Johnson said.

In Brooklyn, intersections hit by flooding included Brooklyn Avenue and Park Place, Wallabout Street and Throop Avenue, and Fourth Avenue and Carroll Street, he added.

In New Jersey, residents reported downed trees and power outages in a number of towns, NJ.com reported.

Towns in Ocean, Middlesex, Union, Camden and Monmouth counties were hit by the outages and the downed trees, according to the report. About 300,000 customers in the state had their power knocked out, according to the newspaper.