Decades of civil war during the 1st century BC had contributed greatly to the demise of the old aristocracy of Rome, which a new Italian nobility gradually replaced in prominence during the early part of the 1st century. One such family, the Flavians, or gens Flavia, rose from relative obscurity to prominence in just four generations, acquiring wealth and status under the emperors of the Julio-Claudian dynasty. Domitian's great-grandfather, Titus Flavius Petro, had served as a centurion under Pompey during Caesar's civil war. His military career ended in disgrace when he fled the battlefield at the Battle of Pharsalus in 48 BC.