Historiography at the end of the republic