People made rules for war. 
People made rules for war long ago. 
Later, leaders made more rules. They wanted to protect women and children. They also wanted to protect old people. 
New rules help keep people safe during fights. They help protect people who are sick. They also help people who are hurt.
Rules say that soldiers must be fair. They should not use tools that cause too much pain. These rules try to make war less hard.
Many lands work together on these rules. They want to help bring peace to the world.
People have made rules for war for a very long time. 
In the early years of Islam, a leader named Abu Bakr gave rules to his army. He said they must not hurt children, women, or the elderly. He also said they should not harm trees or animals. Later, a leader named Adomnan of Iona made the Law of the Innocents. This rule banned killing women and children. It also protected churches.
Today, we use modern laws to help people. 
The law of war is a special set of rules. These rules help decide when a country can start a war. They also guide how people act while fighting. This part of the law is called jus in bello. It helps define things like who owns a piece of land. It also explains how to treat people who are captured. These laws try to make sure that fighting stays within certain limits. 
There are a few main ways these laws work. Some rules come from treaties. A treaty is a written agreement between different nations. Other rules come from custom. Custom is a way of doing things that many nations follow for a long time. There are also general principles that everyone follows. One big principle is distinction. This means soldiers must tell the difference between fighters and civilians. They must also follow the rule of proportionality. This means they should not use more force than is needed.
People have been making rules for war for a very long time. In 1750 B.C., a king named Hammurabi ruled in Babylon. He made a code of conduct for war. One rule said people should not cut down fruit trees. This kept food available for later. In the 7th century, a leader named Abu Bakr gave rules to his army. He said they should not hurt children, women, or the elderly. Later, in 697, Adomnan of Iona made the Law of the Innocents. This law protected churches and banned killing women and children. 
Many important events helped shape the modern laws we use today. In 1820, leaders from Colombia and Spain signed a treaty. This was an early step toward international humanitarian law. In 1848, the United States and Mexico signed the Treaty of Guadalupe Hidalgo. This treaty included rules to protect civilians. During the American Civil War, a set of rules called the Lieber Code was used. In 1864, twelve countries signed the first Geneva Convention. This was a big step to protect hospital and ambulance crews. 
These laws are very important for helping the world find peace. They try to protect people who cannot fight. This includes the wounded, the sick, and prisoners of war. They also protect children and regular people living in war zones. By following these rules, people try to reduce the hardships of fighting. The goal is to make it easier to restore peace once a conflict ends. Even as the world changes, these laws continue to grow and adapt. 
The law of war is a specific branch of international law. It regulates two very different aspects of armed conflict. The first is called jus ad bellum, which governs the reasons a nation may start a war. The second is called jus in bello, which governs how people must behave during the fighting. These laws define important concepts like sovereignty, nationhood, and territory. They also address how to handle occupation and the acceptance of surrender. By setting these rules, the law of war attempts to manage the chaos of conflict through legal structures.
Modern laws of war are built upon three primary sources. The first source is lawmaking treaties, also known as conventions. These are formal, written agreements between nations. The second source is custom, or customary international law. This refers to the long-standing practices of nations that are accepted as legal requirements. The third source is general principles. These are fundamental ideas, such as distinction and proportionality, that provide basic guidance for the use of force. Together, these sources create a framework that limits what states can and cannot do during a conflict.
There are several core principles that guide the conduct of hostilities. The principle of distinction requires that combatants always distinguish between fighters and civilians. The principle of military necessity states that actions must be intended to help defeat an enemy and must target legitimate military objectives. Proportionality ensures that the force used is not excessive compared to the military goal. Additionally, the law prohibits attacks on those who are hors de combat, which means people who are no longer able to fight. Finally, the law forbids the infliction of unnecessary suffering through certain weapons or methods.

Humanity has attempted to limit the violence of war for thousands of years. In 1750 B.C., King Hammurabi of Babylon established a code of conduct for war. One rule in his code protected the environment by forbidding the cutting of fruit trees during a siege. In the 7th century, the first Sunni Muslim caliph, Abu Bakr, instructed his army to avoid harming children, women, and the elderly. In 697, Adomnan of Iona introduced the Law of the Innocents in Ireland and Scotland. This law specifically banned the destruction of churches and the killing of women and children. These early examples show a long history of trying to protect non-combatants.

The 19th century marked a major shift toward modern, written laws. Historian Geoffrey Best described the period from 1856 to 1909 as the "epoch of highest repute" for the law of war. During this time, nations moved away from rules based on religion or chivalry. Instead, they began using multilateral treaties to codify their agreements. For example, the Treaty of Armistice and Regularization of War in 1820 served as a precursor to international humanitarian law. In 1848, the Treaty of Guadalupe Hidalgo between the United States and Mexico included rules for protecting civilians. During the American Civil War, the Lieber Code helped develop the laws of land warfare.

Significant international agreements have further shaped these protections. In 1864, twelve countries signed the First Geneva Convention. This agreement was designed to protect hospital and ambulance crews during conflicts.

The purpose of these laws is to mitigate the hardships caused by war. They aim to protect the wounded, the sick, and prisoners of war. They also work to safeguard the fundamental human rights of children and civilians. By establishing clear rules for the start and end of a conflict, these laws help facilitate the restoration of peace. However, the law of war must constantly adapt to new technologies and situations. For instance, there is ongoing scientific and legal debate regarding the use of depleted uranium projectiles. As conflict methods change, international legal circles continue to discuss how to apply general principles to new challenges.
🖼️ Images & Media (5)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.