Education in Thailand is provided mainly by the Thai government through the Ministry of Education from preschool to senior high school. Formal education consists of at least twelve years of basic education divided into primary and secondary education, and higher education. Administration and control of public and private universities are carried out by the Office of Higher Education Commission. The school structure is divided into four key stages from elementary school through upper secondary school.