The Lieber Code is considered the first document to comprehensively outline rules regulating the conduct of war, and laid the foundation for the Geneva Conventions.