An earthquake of magnitude 2.1 and depth of 5.00 kilometers occurred 2.47 miles from Sparta, NC in Alleghany County at 08:33 PM.