 He continued studies at the four-year secondary school in Marijampolė where he was continuously ranked as one of the best students, but quit without graduating around 1850.He continued to self-study learning several languages.In addition to his native Lithuanian, he learned Polish, Russian, German, French, Latin, some Greek, Sanskrit, and Hebrew.