The Law on Nine-Year Compulsory Education (中华人民共和国义务教育法), which took effect on 1 July 1986, established requirements and deadlines for attaining universal education tailored to local conditions and guaranteed school-age children the right to receive at least nine years of education (six-year primary education and three years secondary education). People's congresses at various local levels were, within certain guidelines and according to local conditions, to decide the steps, methods, and deadlines for implementing nine-year compulsory education in accordance with the guidelines formulated by the central authorities. The program sought to bring rural areas, which had four to six years of compulsory schooling, into line with their urban counterparts. Education departments were exhorted to train millions of skilled workers for all trades and professions and to offer guidelines, curricula, and methods to comply with the reform program and modernization needs.