I entered the country on a work visa, with a work permit. After we arrived, my wife and I decided that we enjoyed being here and that we may well stay on. So, as she is a French citizen, she looked into the immigration options and found that I could apply for residency since I am married to a EU citizen. Complicated, I know..... I am just getting so scared of the driving test that it will make me feel better if I have a bit more time, lol.