a. the minor reaches the age of 18 or is deemed to be over 18 years of age in an administrative decision by the Directorate of Immigration, b. the minor is granted a residence permit which provides a basis for a permanent residence permit, and a guardian has been appointed under the provisions of the Guardianship Act, c. the minor leaves the country permanently, d. the minor’s parents or other persons with parental responsibility come to Norway or otherwise become capable of exercising their parental responsibility, or e. the conditions for the appointment are otherwise no longer fulfilled.