HONOLULU (HawaiiNewsNow) –Tropical Storm Olivia made a rare double landfall over west Maui and then Lanai on Wednesday, triggering torrential rains in some areas, bringing down trees, closing roads and causing power outages.

About 2 p.m., Olivia barely remained a tropical storm — with winds of 40 mph — as it moved westward at 20 mph.

The storm was 45 miles south of Honolulu, and tropical-storm-force winds were extending up to 90 miles from its center.

But in a news conference Wednesday afternoon, the governor warned that while Olivia’s center has passed the island chain, the danger isn’t over.

Bands of moisture behind the storm were expected to move over Maui on Wednesday afternoon and Oahu through Thursday. And that could mean the potential for flooding isn’t over.

The Central Pacific Hurricane Center said Olivia’s center first came onshore near Kahakuloa on Maui’s windward coast about 9:10 a.m. Then, about 40 minutes later, the center made a second landfall on the northeast coast of Lanai about six miles north-northeast of Lanai City.

Olivia is the first tropical cyclone to make landfall on Maui in modern history, National Weather Service forecasters said.

On Wednesday afternoon, Maui Mayor Alan Arakawa urged residents and visitors to stay indoors and off the roads until the danger from the storm passed.

“Stay home. Stay off the roadways as much as possible until Olivia passes,” Arakawa said, at a news conference Wednesday afternoon.

While Olivia has weakened significantly over the last 24 hours, forecasters continue to warn that the storm could trigger flooding rains, damaging winds and high surf. A high surf warning remains up for east-facing shores of the Big Island, Maui County and Oahu.

On Wednesday, President Trump approved a presidential disaster declaration for any damages associated with Tropical Storm Olivia. Gov. David Ige said he spoke to Vice President Mike Pence, who said federal resources would be available to Hawaii if needed.

Olivia was the ninth hurricane to form in the Eastern Pacific region this season, and comes on the heels of Hurricane Lane, which dropped record-breaking rain on the Big Island, whipped up wildfires on Maui and triggered widespread flooding on Kauai.