They had laws in the bronze age too. The difference is in what those laws protect.
"protect power" is always in there, but in modern democratic style states there are some extra details that greatly limit the abuse of said power.