What eventually happen to the roman republic?