CABO SAN LUCAS, Mexico (AP) — Hurricane Newton swept onto the Gulf of California after slamming the resorts of southern Baja and headed on a path expected to take it to the Mexican mainland by Wednesday morning and then on to the U.S. border with potentially dangerous rains for Arizona and New Mexico.

Newton came ashore near the Los Cabos resorts Tuesday morning as a Category 1 hurricane with winds of 90 mph (150 kph), pelting the area with torrential rain as residents sheltered at home and tourists huddled in hotels. The storm broke windows, downed trees and knocked out power, but the area was spared the kind of extensive damage seen two years ago when they were walloped by a stronger storm.

A shrimp boat capsized in rough seas in the Gulf of California, killing two people and leaving three others missing, authorities said. The boat had set out from the port of Ensenada and was bound for Mazatlan.

After passing over the resort area, Newton headed northward up the sparsely populated interior of the peninsula and then sput out over the gulf during the night. Late Tuesday, its center was about 20 miles (30 kilometers) east of Santa Rosalia, and it was moving north at around 17 mph (28 kph) with maximum sustained winds of 75 mph (120 kph).

The U.S. National Hurricane Center predicted the storm would make landfall in Sonora state still a hurricane. After passing over relatively little populated areas in Sonora, Newton could push into southeastern Arizona as a tropical storm at midday Wednesday, and drop 1 to 3 inches of rain over parts of Arizona and New Mexico through Thursday, forecasters said.

“Heavy rain could cause life-threatening flash floods and mud slides, especially in mountainous terrain,” the center said.

About 14,000 tourists were in Los Cabos during the storm, tourism officials said, and visitors began venturing out after Newton passed.

“Just trying to make it through the day, with a little help,” Mark Hernandez, a visitor from California, said as he raised a can of beer at one of the few bars open in Cabo San Lucas. “We pray for the city of Cabo San Lucas. It was a rough one as you can see.”

Palm trees were toppled along the town’s coastal boulevard and some windows were broken. But there was calm in the city as firefighters cleaned refuse from the streets during the day.

In 2014, Los Cabos suffered heavy damage to homes, shops and hotels when it was hammered by Hurricane Odile, which hit land as a Category 3 storm.

“You know, it could have been a lot worse and I think we are very fortunate that it wasn’t as bad as Odile,” said Darlene Savord, another tourist from California. “I think that we are very fortunate and blessed.”