An earthquake of magnitude 4.0 and depth of 5.00 kilometers occurred 19.77 miles from Stanley, ID in Custer County at 01:28 PM.