Casimir III the Great, the last ruler of the Piast Dynasty, founded in 1364 the first university of Poland, the Cracow Academy. Cracow was then the capital city of the country and belonged to the most prolific cultural and scientific centres of Central Europe.