In 509 B.C., Rome
A. overthrew its last emperor and established a republic
B. overthrew its last Etruscan king and established a republic
C. was master of the Mediterranean and at the height of its power
D. established its first law code, the Twelve Tables