Which of the following conflicts directly led to a written code of laws in Ancient Rome?
A:the plebeians revolts
B:the Punic Wars
C:the Persian Wars
D:the Gallic Wars