Historical foundations of law