To be eligible for citizenship, you have to legally reside in Spain for ten years.…