when did it become a law to go to school
Compulsory education In 1918, Mississippi was the last state to enact a compulsory attendance law.[21]
Education in the United States By state law, education is compulsory over an age range starting between five and eight and ending somewhere between ages sixteen and eighteen, depending on the state.[7] This requirement can be satisfied in public schools, state-certified private schools, or an approved home school program. In most schools, compulsory education is divided into three levels: elementary school, middle or junior high school, and high school. Children are usually divided by age groups into grades, ranging from kindergarten (5–6 year olds) and first grade for the youngest children, up to twelfth grade (17–18 years old) as the final year of high school.