The warrior code

The warrior code is a list of sixteen different rules that should be followed by all Clan cats. It is taught from the first moons of kithood to when an elder is faced with death. It is said that, as long as the Clans follow the warrior code, no harm shall come to them.

History

 * There is a disagreement about the origins of the warrior code. On one hand, Secrets of the Clans states that the rules were invented when the Clans were founded, made up by the leaders Thunder, Shadow, Wind, and River. On the other hand, Code of the Clans states that the rules were developed during a very long timespan, each one invented by different cats after a significant event. For example, Daisytail made it law that kits must be six moons old in order to start their training after being nervous about her kit's safety.

The warrior code
The warrior code is as follows:
 * 1) Defend your Clan, even with your life. You may have friendships with cats from other Clans, but your loyalty must remain to your Clan, as one day you may meet them in battle.
 * 2) Do not hunt or trespass on another Clan's territory.
 * 3) Elders, queens, and kits must be fed before apprentices and warriors. Unless they have permission, apprentices may not eat until they have hunted to feed the elders. If any warrior or apprentice is sick or injured, they may eat while the elders, queens, and kits are eating.
 * 4) Prey is killed only to be eaten. Give thanks to StarClan for its life.
 * 5) A kit must be at least six moons old to become an apprentice.
 * 6) Newly appointed warriors will keep a silent vigil for one night after receiving their warrior name.
 * 7) A cat cannot be made deputy without having mentored at least one apprentice.
 * 8) The deputy will become Clan leader when the leader dies, retires or is exiled.
 * 9) After the death or retirement of the deputy, the new deputy must be chosen before moonhigh.
 * 10) A Gathering of all four Clans is held at the full moon during a truce that lasts for the night. There shall be no fighting among Clans at this time.
 * 11) Boundaries must be checked and marked daily. Challenge all trespassing cats.
 * 12) No warrior can neglect a kit in pain or danger, even if the kit is from a different Clan.
 * 13) The word of the Clan leader is the warrior code.
 * 14) An honorable warrior does not need to kill other cats to win their battles, unless they are outside the warrior code or if it is necessary for self-defense.
 * 15) A warrior rejects the soft life of a kittypet.
 * 16) Each Clan has the right to be proud and independent, but in times of trouble they must forget their boundaries and fight side by side to protect the four. Each Clan must help the others so that no Clan will fall.

Exceptions

 * Cats on their way to the Moonstone or Moonpool are allowed to cross other Clans' territories to get to their destination - WindClan grounds on the moorland in the forest, and ThunderClan grounds by the lake.
 * At the lake, cats may travel on other Clans' grounds as long as they are within three fox-lengths of the lake; for instance, to go to a Gathering.
 * Cats may travel on other Clan territories if they have something to report or to ask for help.
 * The code is flexible about leadership challenges. Cats may challenge a weak or cruel leader if their Clan is in danger, and if their leadership threatens the Clan, the code expects a warrior to challenge their leader.

Additional rules
The following rules are not specifically stated in the warrior code, but are expected to be followed:
 * Medicine cats may not have a mate or kits, as they must be able to heal all cats equally.
 * Kits must stay in camp until they are apprenticed, and are not allowed to hunt.
 * The safety of the Clan as a whole is more important than the safety of one cat.
 * Clans must not unite together to drive out another Clan.
 * Clans must not force another Clan to share territory.
 * Enemy patrols must not attack cats if they are on a mission that all four Clans have agreed upon.
 * Cats cannot eat when going to the Moonstone or Moonpool to speak with StarClan.

Rejected codes
Throughout history, several other rules were proposed for introduction into the Warrior Code, however, they were turned down. These rules were:
 * Only cats of pure forest blood can be Clan members (suggested by Featherstar of WindClan).
 * Each Clan may only eat the prey they are most suited for (suggested by Robinstar of SkyClan).
 * All Clan cats must acknowledge that StarClan controlled Clan life, and to deny their existence would be to violate the warrior code (suggested by Dovestar of RiverClan).

Breaking the warrior code
The rules are often broken, by all five Clans. Most rules have been broken at least once.

Examples of breaking the warrior code

 * Rule 1 was broken by the very event that made it. Cloudberry and Ryewhisker was the first couple that were in separate clans, Cloudberry in Riverclan and Ryewhisker in Windclan. Their relationship was stopped when in a battle between their clans, Ryewhisker was killed. Another example is Graystripe when he was torn between his loyalties to ThunderClan and RiverClan due to his romantic relationship with Silverstream, and refused to fight her. This rule was also broken by Bluefur when she fell in love with Oakheart, but she eventually had to give up their kits to become leader.. This was broken by Fallowtail and Reedfeather when they gave birth to Graypool and Willowbreeze.
 * Rule 2 is one of the most frequently broken, with many Clans crossing boundaries to catch prey or apprentices not acknowledging the boundaries.
 * Rule 3 was broken by Firepaw when catching prey for Yellowfang after she was exiled from ShadowClan. It was also broken by Longtail and Darkstripe, who ate prey on a hunting patrol instead of bringing it back to the elders and kits. It is rumored by Graypaw that Sandpaw and Dustpaw did this every so often.
 * Rule 4 was broken by Tigerstar and his warriors when he killed prey only to raise a hill of bones.
 * Rule 5 was broken by Brokenstar of ShadowClan, when he forced kits to become apprentices before they were old enough. He also trained them too hard, killing some of them. Some were made warriors before they were even six moons old. This rule was also broken when Bluestar apprenticed Cinderpaw and Brackenpaw before they were six moons old.
 * Rule 6 was broken when Squirrelflight was named a warrior, but did not sit vigil that night, as ThunderClan did not yet have a camp. This comes into conflict with her story in Code of the Clans, where she gives vigil tips and shares experiences from her own vigil.
 * Rule 7 was broken by Firestar when he appointed Brambleclaw as deputy because he had no apprentice, even though he was going to mentor Berrykit when he became six moons. This rule was also broken when Hawkfrost was appointed temporarily as deputy, since he hadn't mentored an apprentice.
 * Rule 8 was broken by Tallstar when he appointed Onewhisker leader, even though Mudclaw was still deputy.
 * Rule 9 was broken by Bluestar when she waited for too long to name a new deputy, and when Firestar refused to name a deputy when Graystripe disappeared.
 * Rule 10 was broken by all Clans when they fought numerous times at Gatherings.
 * Rule 11 was broken by ShadowClan when they stopped believing in StarClan and stopped patrolling their borders.
 * Rule 12 was broken by Russetfur and her patrol, watching Berrykit struggle with his tail caught in a fox trap, and making no move to help him. Also done by Tigerstar when he was an apprentice and tried to kill Scourge while he was a kit named Tiny.
 * Rule 13 was broken by Fireheart when he refused to attack WindClan when Bluestar planned an attack.
 * Rule 14 was broken by Brokenstar, Hawkheart, Tigerstar, Hollyleaf, Lionblaze, and Clawface when they killed cats to win their own battles.
 * Rule 15 was broken by Cloudpaw when he took food from Twolegs.
 * The rule about medicine cats being forbidden to have a mate and kits was broken by both Leafpool and Yellowfang, when Leafpool took Crowfeather as a mate and Yellowfang took Raggedstar.

General

 * These can be a scolding, giving a warrior apprentice duties, or giving an apprentice an unpleasant task.

Losing their rank

 * Breaking the code can also result in a cat being stripped of their duties. One major example of this is Firestar punishing Leafpool. She was forced to surrender her medicine cat duties, due to the truth about her being Jayfeather, Hollyleaf, and Lionblaze's parent, and also taking a mate.

Exile

 * In severe cases, the cat may be exiled from the Clan. This has happened in the series multiple times, and some examples are:


 * Leopardstar exiling Graystripe from RiverClan, due to him not attacking his former ThunderClan Clanmates.
 * Firestar exiling Darkstripe for poisoning Sorrelkit.
 * Bluestar exiling Tigerclaw for treason and murder.

After-death punishments

 * Cats who would murder for no reason, or have caused pain to others for nothing other than their own enjoyment would also go to the Place of No Stars upon their death.


 * Examples of these cats are:
 * Tigerstar, who is responsible for the death of Redtail, Runningwind, Brindleface, and Gorsepaw.
 * Hawkfrost, who planned to have Firestar killed in order to give Brambleclaw leadership of ThunderClan.
 * Darkstripe, who poisoned a young kit.

Trivia

 * Kate thinks that few things were ever rules in the Warriors universe, as the cats change their "rules" depending on their attitudes at the time.

References and citations
Воинский законKodeks WojownikaCode du guerrierKrijgscodeGesetz der KriegerSoturilaki