After a badger attack destroys much of ThunderClan's camp, Brook Where Small Fish Swim (Brook) and Stormfur, old friends of ThunderClan, help to rebuild the camp. The battle is not without its consequences, as both the medicine cat Cinderpelt and the warrior Sootfur die. The battle rekindles Squirrelflight's love for Brambleclaw (following a conflict between the two during the previous book), leading her to have an argument a few days after with Ashfur, whom she had moved to following her separation from Brambleclaw.
After months of waiting and with persuasion from Brambleclaw, Stormfur, the new medicine cat Leafpool and his own mate Sandstorm, Firestar, leader of ThunderClan, finally declares that his friend and deputy Graystripe is not going to return after being abducted by humans in Dawn. When a dream from StarClan, the spirits of the cats' ancestors, tells Leafpool that Brambleclaw should be the new deputy, Firestar agrees and appoints Brambleclaw as the new deputy. The decision is met with objection, because Brambleclaw had never mentored an apprentice, a requirement for becoming deputy. The matter is cleared when Firestar declares that Brambleclaw will mentor Berrykit when the kit turns six months of age and mentions Leafpool's dream from StarClan to his warriors.
All of the Clans are grieving for the death of Cinderpelt. Leafpool finds herself struggling between grief and betrayal, for she has not seen Cinderpelt in the ranks of StarClan. During a visit to the Moonpool, where medicine cats share dreams with StarClan each month, former medicine cat Spottedleaf goes to Leafpool in a dream and shows her that Cinderpelt is reborn in the form of Cinderkit, one of Sorreltail's four kits whom Cinderpelt died protecting.
Tigerstar, an evil cat who is dead, continues to visit his sons (through different mothers) Hawkfrost and Brambleclaw in their dreams and when Brambleclaw becomes deputy, Tigerstar reveals his plan for Brambleclaw to take over ThunderClan and WindClan and for Hawkfrost to take over RiverClan and ShadowClan. Brambleclaw firmly rejects this idea, but agrees to make up a plan with Hawkfrost when they awake.
During the meeting, Brambleclaw hears a cat struggling in pain. He finds Firestar caught in a fox trap (wire snare) and Hawkfrost urges Brambleclaw to kill the ThunderClan leader so that Brambleclaw can become the new leader. After struggling with his desires, Brambleclaw refuses to kill Firestar and frees him from the trap. Since Brambleclaw betrays their father's plans, Hawkfrost attacks Brambleclaw, but Brambleclaw kills Hawkfrost with the trap's sharp stick by stabbing his neck. Before he dies, Hawkfrost claims to Brambleclaw that a ThunderClan warrior helps him with his plan and that their fight is not over.
The prophecy "Before there is peace, blood will spill blood, and the lake will run red", given to Leafpool in an earlier book, is fulfilled; since Brambleclaw and Hawkfrost are half-brothers, they share the same blood and are kin, and as he stumbles down to the lake, blood pours from Hawkfrost's neck, making the lake run red.