Outside the walls of Rome, the powers of the consuls were far greater in their role as commanders-in-chief of all Roman legions. It was in this function that the consuls were vested with full imperium (power).