It's Virginia. Your welcome
The main reason for them creating a written code of law was because they had a huge empire and maintaining such an empire required a unified law that could be applied to everyone and every case.
The correct answer in this case would be so that their citizens would be able to see and understand it. This allowed them to familiarize themselves with the law and abide by it if they desired to do so.
<span>The United States lost thousands of soldiers fighting the insurgency.
I triple checked this answer and It's correct.
Source: Myself</span>
He describes himself as- unhappy