Stimulated by the example of Charles IV., who had founded the university of Prague in 1348, Casimir on the 12th of May 1364 established and richly endowed the first university of Cracow, which had five professors of Roman law, three of Canon law, two of physics, and one master of arts.