Hello Alex

Any applicant born in Spain can apply for the Spanish nationality after having been legally residing in Spain for one year, regardless his/her parents´nationality. The process is called Spanish Nationality application By Residence.

The Official information cam be found here.

Regards