 The ancestor of the school was founded by István Szegedi Kis in 1545.The Protestant church used the school to provide the congregations with pastors and teachers during the Ottoman invasion of Hungary.In 1686 the Ottomans burned down the city, including the school.