Where does “legeslegfőbb” come from?

legeslegfőbb (Hungarian) comes from Hungarian legfőbb, from Hungarian főbb, from Hungarian fő, from Hungarian fej, from Proto-Uralic päŋe — head.

Ancestry of “legeslegfőbb”, step by step

StepLanguageWordMeaning
1Hungarianlegfőbbsuperlative degree of fő
2Hungarianfőbbcomparative degree of fő
3Hungarianmain, principal, key, chief, cardinal, core, most...
4Hungarianfejhead; head, mind, brain, intellect; heads,...
5Proto-Uralicpäŋehead
Every word from Proto-Uralic päŋeEvery word from Hungarian fejEvery word from Hungarian