Many international schools in Beijing and Shanghai, in accordance with Chinese law, are only permitted to enroll students who have citizenship in areas other than Mainland China. This is because Mainland Chinese students are required to have a certain curriculum, and schools that do not include this curriculum are not permitted to enroll Mainlanders. Mainlander children who hold foreign passports are permitted to attend these schools. As of 2014, 19 international schools in Beijing are restricted to non-Mainlanders. There are also schools using international curricula that accept both Mainlander and non-Mainlander students.