In the army of Frederick the Great, a regiment's regimentschef, oberst, staff officers, company commanders and those of nearby rank received a far higher rank than the staff captains who actually led the company. From this difference later developed the salary difference between a first class "Hauptleute first class" and "Hauptleute second class".