Not everyone knows, but if your child was born in Spain, then he can apply for Spanish citizenship.
If at the time of the child's birth, you (as parents) if you had a legal status in Spain (a tourist visa is not suitable), then you will need to do the following:
-
get a Spanish birth certificate
-
to accept for the child the citizenship of the country of which his parents are citizens
-
get a passport at the consulate of the country of the child's parents
-
attach the child to your Spanish residence permit
After the child receives the Permiso de residencia card, it is necessary to live in Spain for 1 year and you can apply for Spanish citizenship
After the child receives citizenship, his parents and family members can apply for a residence permit as relatives of a Spanish citizen for a period of 5 years
Source: @spain2u