All pre-university education is now compulsory in Mexico, the government said.

Education was compulsory until now only to the middle school level, but it is now being expanded through high school, the last educational level before students enter a university.

Modifications to six articles and two additions to the General Education Law were published in the Official Daily of the Federation by the Education Secretariat.

The government is now required to offer teaching until the high school level or its equivalent at public schools.

The measure, which took effect on Tuesday, requires parents or guardians to ensure that children receive a pre-school, elementary, middle school and high school education.

Students attend high school in Mexico, on average, between the ages of 16 and 18.

Mexico currently has 26 million students enrolled at the pre-school, elementary, middle school and high school levels. EFE