In the Middle Ages Astrology and Alchemy were taught at the university level. Faust knew both.

Although much about the original Faust is speculation, and his identity isn’t sure, he may have received a degree in Divinity from the University of Heidelberg in 1509, studied magic at the University of Krak√≥w and lectured at the University of Ehrfut in central Germany.>