https://www2.ed.gov/about/overview/focus/what.html
Although the Department is a relative newcomer among Cabinet-level agencies, its origins goes back to 1867, when President Andrew Johnson signed legislation creating the first Department of Education. Its main purpose was to collect information and statistics about the nation's schools. However, due to concern that the Department would exercise too much control over local schools, the new Department was demoted to an Office of Education in 1868.