After thirty years of this work Ausonius was summoned by emperor Valentinian I to teach his son , Gratian , the heir-apparent .
After thirty years of this work , he was ordered by Valentinian to the imperial court to teach Gratian , the heir-apparent .