Under Etruscan domination , Rome had been a monarchy until a revolt in 510 b.c. established a patrician republic , which lasted five centuries .
In 510 b.c. , Rome established a monarchy that lasted for centuries .