It has worked as a state grammar school since 1890 in one of the nicest Baroque buildings of Eger. It was built by the Jesuits to be a grammar school and a monastery in 1754. When the order was banned in 1773, it was given over to the Cistercians and from 1787 it worked as a royal grammar school.