Education in Thailand is provided mainly by the Thai government through the Ministry of Education from pre-school to senior high school. A free basic education of twelve years is guaranteed by the constitution, and a minimum of nine years' school attendance is mandatory. Formal education consists of at least twelve years of basic education, and higher education. Basic education is divided into six years of primary education and six years of secondary education, the latter being further divided into three years of lower- and upper-secondary levels...