Muzan was ultimately defeated by the collective efforts of Tanjiro, Nezuko, and the other demon slayers. Their teamwork and perseverance were key to ending Muzan's reign of terror in the manga.
Nezuko is initially 12 years old in the manga. As the story unfolds, her age doesn't change significantly in a traditional sense, but her character development is quite remarkable.