Dear Marta Flores
How do I become Spanish citizen by virtue of the marriage and landing ?

Dear Sir,
I am an Iranian citizen Dr , have Hungarian long term resident
( EU ) permit , i am planning to marry with Spanish girl, and I want to go to live in Spain too.
Meantime i will going to buy a 2 room flat under my name in Spain also,

Could you tell me please, what will be the procedure for me to obtain spanish citizenship. How long will it take? and if i have land under my name is it effect and make it faster in a time ?
shall i going to have advantage of that or not?

As i mention i have Eu Hungarian resident Permit ,did i get imminently long term resident permit or what kind of residency should obtain to make it easier
Thanks a lot
Best regards
Dr F.S