Thunderstar-Book 5 is when Thunder leaves his group and forms his own. Thunderclan is formally given its name in Book 6, so technically he doesn’t officially become the “leader” until then