I didn't realise until recently, but the Granada region, stretching all along the Sierra Nevadas and across to parts of Malaga province, is actually one of the 'hotter' earthquake spots in Spain.
There was actually a bad earthquake there in Arenas de Rey, Granada, in 1884 and another in the 1950s, plus some bad earthquakes in Cordoba too. There is a lot of seismic activity in this region.
Here's a link: http://www.iberianature.com/material/earthquake.htm
But overall. in terms of earthquakes, Spain is pretty stable in most regions.