As consul again in 275 BC, Dentatus fought Pyrrhus in the inconclusive Battle of Beneventum which nevertheless forced Pyrrhus out of Italy. As a result, he held a consecutive consulship, defeating the Lucani in the following year and earning an ovation. He was censor in 272, and in 270 he was elected as one of two commissioners to oversee construction of the "Anio Vetus", Rome's second aqueduct, for which he used his personal share of the booty from his recent victories. He died during the project, which was completed under his fellow commissioner M. Fulvius Flaccus.