At the earliest time Pliny could have left the service, Nero, the last of the Julio-Claudian dynasty, had been emperor for two years. He did not leave office until AD 68, when Pliny was 45 years old. During that time, Pliny did not hold any high office or work in the service of the state. In the subsequent Flavian dynasty, his services were in such demand that he had to give up his law practice, which suggests that he had been trying not to attract the attention of Nero, who was a dangerous acquaintance.