a. the foreign national has not stayed outside the realm for more than seven months in total over the course of the last three years, b. the foreign national continues to satisfy the conditions for a temporary residence permit that provides a basis for a permanent residence permit, c. no circumstances as mentioned in section 66 apply, d. the foreign national has completed compulsory Norwegian language training in accordance with the Introduction Act and has achieved a minimum level of spoken Norwegian in the final Norwegian language examination, e. the foreign national has completed compulsory training in social knowledge in accordance with the Introduction Act and has passed the final examination in social knowledge in a language he or she understands, and f. the foreign national has been self-supporting for the past 12 months.