 It was founded in 1626 by the Cardinal Petrus Pazmanus as Collegium Posoniense.Gamča's focus on mathematics, natural sciences and computer sciences brought 56 of its students to successfully represent Slovakia (Czechoslovakia) at the International Mathematical Olympiad, 26 students at the International Physics Olympiad and 14 at the International Olympiad in Informatics in the past 35 years.Since 1988, the school's popular "Olympic games", OH Gamča, are held annually.