The Twelve Tables of Roman society were said by the Romans to have come about as a result of the long social struggle between patricians and plebeians. After the expulsion of the last king of Rome, Tarquinius Superbus, the Republic was governed by a hierarchy of magistrates.