Hello,

The Law stipulates that if a person is born in SPain, he/she can apply for the Spanish nationality after a year of legal residence. However, depending on their nationalities, some children born in Spain to foreign parents can be granted the Spanish nationality as their parents nationality is not granted naturally, and as being declared apatridas ( without nationality ) the Spanish one will be applied, which seems to be the case for pakistan.

Best Regards,