Education in Romania is compulsory for 14 years (from the last year of the kindergarten to the twelfth grade). With the exception of kindergarten (preschool) and tertiary education (university), the private sector has a very low presence in the Romanian education system. Education became compulsory in Romania in the 19th century, in 1864, under ruler Alexandru Ioan Cuza, when four years of primary school became free and compulsory for all children, regardless of social class and sex. Despite this, the law was not enforced, and mass illiteracy persisted well into the 20th century: in the 1930s, 43% of adults were illiterate. The Romanian literacy campaigns started in 1948 largely eradicated illiteracy in the 1950s.