History of Spain reports more than fifty general elections before this date, starting at 1810. Is a fact well documented and impossible to ignore, unless you want to rewrite the history of the country in the last 200 years for some reason. The universal concept of democracy, of course, has changed with time but this was not exclusive from Spain.
https://es.wikipedia.org/wiki/Anexo:Elecciones_en_Espa%C3%B1...