The applicant must have been permanently residing in Poland for at least two years (before submitting the application). On the basis of a temporary residence permit due to marriage to a Polish citizen or on the basis of refugee status, subsidiary protection or for humanitarian reasons.