I have read that it is only 1 year necessary to apply for spanish citizenship. I can't find any official areas to confirm this though. So the only way is to get a work visa for a year and then apply?