A magnitude-6.5 earthquake – Idaho’s largest in nearly 40 years – hit the state Tuesday evening.

The quake’s epicenter was outside of Stanley, about 80 miles northeast of Boise, according to the U.S. Geological Survey.

Shaking was also felt in Oregon, eastern Washington, Montana and as far north as Canada, Boise State Public Radio reported.

Utah earthquake of 5.7-magnitude rocks Salt Lake City, leaves tens of thousands without power

“Stuff was flying all over the place,” Stanley Mayor Steve Botti said, the Statesman reported. “I was upstairs and I tried to walk down the steps and I couldn’t because it was shaking too much.”

“Stuff was flying all over the place. I was upstairs and I tried to walk down the steps and I couldn’t because it was shaking too much.” — Mayor Steve Botti, Stanley, Idaho

“At my house, pictures flew off the wall and stuff fell, but there was no structural damage,” Botti said, according to the Boise radio station. “But it was very loud. It sounded like a freight train and very severe shaking.”

There were at least nine aftershocks but no immediate reports of significant damage or injuries, according to the Idaho Statesman.

It was the most powerful earthquake since a 6.9-magnitude struck Borah Peak in 1983, killing two people, according to the Statesman. It would also be the second-largest in the state's recorded history if it isn't downgraded.

CLICK HERE TO GET THE FOX NEWS APP

The quake came less than two weeks after a 5.7-magnitude hit Salt Lake City.

The USGS said more aftershocks should follow in the next several days, according to the Statesman.