An earthquake of magnitude 3.8 and depth of 5.00 kilometers occurred 21.56 miles from Virginia City, MT in Madison County at 09:38 PM.