Under Robert the Bruce the importance of the Parliament of Scotland grew as he called parliaments more frequently, and its composition shifted to include more representation from the burghs and lesser landowners. In 1399 a General Council established that the King should hold a parliament at least once a year for the next three years so "that his subjects are served by the law". In 1318 a parliament at Scone enacted a code of law that drew upon older practices, but it was also dominated by current events and focused on military matters and the conduct of the war of Scottish Independence.