Where does “панъ” come from?

панъ (Old East Slavic) comes from Old Polish pan, from Proto-Slavic gъpanъ — ruler, master.

Ancestry of “панъ”, step by step

StepLanguageWordMeaning
1Old Polishpanlord
2Proto-Slavicgъpanъruler, master
Every word from Proto-Slavic gъpanъEvery word from Old Polish pan