During the Medieval Ages mainly nobles and royalty had pretty much power over society. Although when it came to "justice" it wasn't any different. Most people with low resources such as peasants, labor workers and farmers, had little to no rights, when it came down to the "law".