The school was founded in 1732 and became a Slovak secondary school in 1949. In 1953, Hungarian classes were formed, making it the first two-language school in Slovakia. It has around 11,100 students and is located on the left bank of the Danube River in the southernmost city within the Kováčovské hills.