Riga State Gymnasium No.1 (Rīgas Valsts 1. ģimnāzija), the oldest school in the Baltic states, offers secondary education (grades 7 to 12) in Riga, the capital of Latvia.The school traces its origins to school of Riga Cathedral, which was founded in 1211, a decade after the foundation of Riga itself. Its name and language of instruction have changed several times during its history. Latvian became the main language of instruction in 1919.Today, the gymnasium is known for its strong programs in the natural sciences, mathematics and computer science. Students wishing to enroll at the school take an admissions test in mathematics. Its admissions rate, with as many as six candidates competing for each position, is one of the lowest in the country. Since 1997 the school enrolls 30 to 40 people in its International Baccalaureate Diploma Programme each year, where instruction is offered in English. It was the first school in the Baltic states to offer the IBO Diploma Programme. Each year a number of 12th grade students finish the DSD (Das Deutsches Sprachdiplom ) programme by taking an exam along with the regular school leaving exams. Passing the exam enables them to pursue their higher education in German speaking countries.Riga State Gymnasium No.1 is consistently ranked first among the schools in Latvia. Its students' average results on school leaving (state) exams are the highest in the country. Riga State Gymnasium No.1 is also the best school in Latvia based on its students' achievements at various domestic and international academic competitions.