Verse 39

And they established governments in all their cities, in order to be regulated by their orders; so did all the families of the children of Noah forever.