Three of the four roads into Yosemite National Park remained closed Wednesday after a strong earthquake triggered rock slides that blocked traffic lanes. No injuries were immediately reported.

The wide-ranging quake late Tuesday was felt from San Francisco to Nevada, shaking up casinos and hotels in South Lake Tahoe and Reno.The quake struck at 11:15 p.m. Tuesday and measured a preliminary 5.8 on the Richter scale, said Pat Jorgenson, spokeswoman for the U.S. Geological Survey.

It was centered in this Sierra Nevada town of 400 people just east of Yosemite and about 190 miles northeast of San Francisco, Jorgenson said.

"It was a rolling, strong jolt and lasted about 25 seconds," said Robin Bergmann, a resident of Manteca, about 120 miles from Lee Vining.

Two highways into Yosemite from the west and one highway into the park from the east -- the Tioga Pass road -- were closed by rock slides.