Nerva became emperor when aged almost 66, after a lifetime of imperial service under Nero and the succeeding rulers of the Flavian dynasty. Under Nero, he was a member of the imperial entourage and played a vital part in exposing the Pisonian conspiracy of 65. After Domitian was assassinated in a palace conspiracy involving members of the Praetorian Guard and several of his freedmen on 18 September 96, Nerva was declared emperor by the Roman Senate. During his reign, he vowed to restore liberties which had been curtailed during the autocratic government of Domitian. Nerva's brief reign was marred by financial difficulties and his inability to assert his authority over the Roman army. A revolt by the Praetorian Guard in October 97 essentially forced him to adopt an heir.