In Roman Catholic Lithuania Mažvydas was persecuted for his Protestant leanings, which motivated him to accept an invitation from Duke Albrecht of Prussia to come to Königsberg. He entered Albertina University in 1546; in 1548 he graduated from the university with a bachelor's degree. The fact that Mažvydas graduated in one-and-a-half years suggests that he had studied elsewhere before – possibly in Kraków, or at the school established by Kulvietis in Vilnius. It has also been suggested that he was teaching at Albertina University.