Books XXXI to XLV cover the years from 201 b.c. to 167 b.c., when Rome emerged as ruler of the Mediterranean.