Everyone must follow these laws. The are called the Twelve Tables.
The Plebeian's agreed to this compromised and they all moved back into the Roman Empire. This made the Patricians happy because they now were not vulnerable to attacks.
Problems began arising because there weren't written laws. People could change the laws and others could break them.Something had to change.
After a while, they decided that they should write some kind of laws. These were written down so that everyone, including people in the government have to follow them. It also made it where they couldn't be changed.
The Roman Empire set a foundation to the republic government. They changed from a king, to a Republic.