What is your closest link to Spain?
Your direct line means your parents, grandparents and so on, not aunts, uncles or a spouse's family. Pick the closest. A relative who came from Spain is not the same as one who held Spanish nationality; if you cannot tell which, choose not sure.