(CNN) A brief panic was sparked Wednesday afternoon after the US Geological Survey sent out an alert that a magnitude-6.8 earthquake had struck 10 miles west of Santa Barbara, California.

An earthquake of that size did strike the area.

But it happened in 1925.

"They clicked the wrong button," said Justin Pressfield, a spokesman for the agency. "It was human error and software."

The alert, according to Pressfield, was caused by a software edit of the quake that rocked Santa Barbara in 1925, killing 13.

Read More