The Roman Republic is traditionally held to have been established in 509 BCE, when the Romans overthrew their last king, Lucius Tarquinius Superbus, and replaced the monarchy with a system of elected magistrates and representative assemblies.