 At the age of 13 he entered the Gymnasium Poeticum at Regensburg and remained there for eight years.During this unusually long period he became well versed in the city's musical traditions (such as the works of Andreas Raselius), studied the organ, perhaps with Augustin Gradenthaler, and mastered a number of humanistic subjects, especially the poetic arts and philology.His gifts as a student were supported by scholarships from the city of Regensburg, and he was commended by influential members of the staff of the Gymnasium and the city council, some of the latter providing him with favourable testimonials when he moved to Leipzig in 1654.