The most senior centurion of the legion was the Primus Pilus who commanded the first century .
The most senior centurion in a legion was known as the primus pilus ( first file or spear ) who directly commanded the 1st century of the first cohort and commanded the whole first cohort when in battle .