An earthquake of magnitude 3.5 and depth of 5.40 kilometers occurred 12.74 miles from Harrison, MT in Madison County at 05:39 AM.