At the beginning of 1481, the student body of the University elected Drohobych to become the rector of the school of Medicine and Free Arts. He was only thirty at the time. For a year, which was the regular term in office for an elected rector, he combined his academic responsibilities, which included teaching astronomy and medical research, with administrative obligations. He had civil and legal authority over the students and faculty who were under his supervision. In 1482 he received his PhD in medicine.