it was the capital city of the roman kingdom , the roman republic and the roman empire , which was the dominant power in western europe and the lands bordering the mediterranean for over seven hundred years from the 1st century bc until the 7th century ad and the city is regarded as one of the birthplaces of western civilization .