He was so brave and so good a soldier that he soon came to be commander of the imperial guard which attended the emperor.