|"Our elders, and our elders' kin, and their kin before them, fought to keep Sunningrocks in our territory. Many of them lost their lives, giving up their last breath for the stones that belong to us. Can we give up where they did not, turn tail and flee when they kept fighting so that their kits could hunt and play and bask on these rocks? Will you fight with me now, in honor of all our elders and unborn kits?"|
|— Darkstar to her Clan about Sunningrocks in Code of the Clans, page 33|
Darkstar is a small brown she-cat and an ancient leader of RiverClan. In Code of the Clans, when Splashheart recognizes ThunderClan warriors intruding on Sunningrocks, Reedshine quickly goes to inform Darkstar. As Splashheart prepares to start the battle on his own, Darkstar bursts from the reeds, ordering him to wait. Protesting that they could not allow ThunderClan to take over Sunningrocks, Darkstar grimly promises that they will not as reinforcements gather behind her. Leading the attack, Darkstar plunges into the river and races to battle, leaping at a dark brown cat and raking her claws on the cat's ears. When Splashheart is cornered by two ThunderClan warriors, Darkstar collides with the two warriors hissing to Splashheart to get back with the others on the shore.
Enraged by the behavior of the ThunderClan cats, the RiverClan leader orders her Clan to attack once more. When they protest, saying the battle is already lost, she replies that it is only lost when they stop fighting. She then speaks of their elders, and how they fought and died so that their Clan and kits could hunt and play and bask on Sunningrocks, and that they must keep fighting to honor them. Then, a tabby springs at Darkstar, but she sidesteps, spins around, and sinks her claws into the cat's back, making him crash to the ground. The battle is over after that.
After the battle, in which the RiverClan cats win, Darkstar summons her warriors to the center of the summit, and announces that they will take home prey to their youngest and eldest cats of the Clan, saying that this victory is for them, to the surprise of many cats. This leads to the third law of the warrior code: that kits and elders are to be fed before everyone else.
- Vicky believed that she and Darkstar are the same cat, but later revealed that they are different cats.
- "We will take her back. But first, we will reclaim what is rightfully ours!"
- —Darkstar telling her Clan that they're going to fight again for Sunningrocks Code of the Clans, page 34
- "It is only lost when we stop fighting!"
- —Darkstar talking about the battle between RiverClan and ThunderClan Code of the Clans, page 34
- "Cats of RiverClan! Sunningrocks belongs to us once more! And in honor of our elders and their kin before them, who never stopped fighting to defend our borders, we will catch fish on our way home and feed it to the oldest and youngest cats of the Clan. This victory is for them!"
- —Darkstar cheering for her Clan Code of the Clans, page 37