Transition of Rome from a Republic to an Empire

What led to the transition of Rome from a Republic to an Empire?