Which of these as a factor in Rome's transition from a Republic to an Empire?

Adefeat in the Punic Wars
Brivalries between classes
Ca refusal to build a navy
Dthe invasion of Muslim armies