General secondary education is acquired at the gymnasium (in Estonian "gümnaasium"), which is an upper secondary school. The upper secondary school is a general education school, which follows on from basic school and has a nominal study period of three years. Upper secondary schools consisting of years 1 to 12 (i.e. the study period lasts 12 years) have historically prevailed in Estonia.