From city to Republic to Empire, Rome built a civilization that would influence the world for thousands of years .