How did Rome become a republic Republic?