<Table> <Tr> <Th_colspan="2"> Roman Republic Official name (as on coins): Roma after c. 100 BC: Senatus Populusque Romanus (Latin) (SPQR) (The Senate and People of Rome) </Th> </Tr> <Tr> <Td_colspan="2"> 509 BC--27 BC </Td> </Tr> <Tr> <Td_colspan="2"> Denarius of Brutus, 54 BC, showing the first Roman consul, Lucius Junius Brutus, surrounded by two lictors and preceded by an accensus . </Td> </Tr> <Tr> <Td_colspan="2"> Roman provinces on the eve of the assassination of Julius Caesar, 44 BC </Td> </Tr> <Tr> <Th> Capital </Th> <Td> Rome </Td> </Tr> <Tr> <Th> Common languages </Th> <Td> Latin (official) Etruscan, Greek, Osco - Umbrian, Venetic, Ligurian, Rhaetian, Nuragic, Sicel, Hebrew, Aramaic, Syriac, Punic, Berber, Illyrian, Iberian, Lusitanian, Celtiberian, Gaulish, Gallaecian, Aquitanian (unofficial, but commonly spoken) </Td> </Tr> <Tr> <Th> Religion </Th> <Td> Roman polytheism </Td> </Tr> <Tr> <Th> Government </Th> <Td> Republic (509--27 BC) </Td> </Tr> <Tr> <Th> Consuls </Th> <Td> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> 509--508 BC </Th> <Td> Lucius Junius Brutus, Lucius Tarquinius Collatinus (first) </Td> </Tr> <Tr> <Th> 27 BC </Th> <Td> Gaius Octavianus, Marcus Vipsanius Agrippa (last) </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> Legislature </Th> <Td> Legislative Assemblies </Td> </Tr> <Tr> <Th> Historical era </Th> <Td> Classical antiquity </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> Overthrow of Tarquinius Superbus </Th> <Td> 509 BC </Td> </Tr> <Tr> <Th> Caesar proclaimed dictator </Th> <Td> 47 BC </Td> </Tr> <Tr> <Th> Battle of Actium </Th> <Td> 2 September 31 BC </Td> </Tr> <Tr> <Th> Octavian proclaimed Augustus </Th> <Td> 16 January 27 BC </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Area </Th> </Tr> <Tr> <Th> 326 BC </Th> <Td> 10,000 km (3,900 sq mi) </Td> </Tr> <Tr> <Th> 50 BC </Th> <Td> 1,950,000 km (750,000 sq mi) </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> Preceded by </Td> <Td> Succeeded by </Td> </Tr> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> Roman Kingdom </Td> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> Roman Empire </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Roman Republic Official name (as on coins): Roma after c. 100 BC: Senatus Populusque Romanus (Latin) (SPQR) (The Senate and People of Rome) </Th> </Tr>

How many years was rome considered a republic
find me the text answering this question