Use in English may carry humorous or affectionate connotations. This is possibly due to (assumed) reference to modern Japanese media, or possibly a lexical gap.
Japanese 先輩 (せんぱい senpai), from Middle Chinese 先 (sen "first", "former") + 輩 (bìj "generation").
sempai (plural sempais)