I was married with spanish in 2005 and livied with her in spain for 3 years where i was regestered with her local community in madrid. i got my first 5 year residence card and after that i got 10 year residence card.

in 2012 i get divorced. now can i apply for a nationality now or not ??