Twilight Sparkle is the central main character of My Little Pony Friendship is Magic. She is a female unicorn pony who transforms into an Alicorn and becomes a princess in Magical Mystery Cure. She is also the daughter of Twilight Velvet and Night Light, the younger sister of Shining Armor, sister-in-law to Princess Cadance, and paternal aunt to Flurry Heart.Twilight Sparkle lives in Canterlot until Princess Celestia sends her to Ponyville. Accompanied by Spike, Twilight checks the town’s preparations for the Summer Sun Celebration and meets the rest of the main characters. The celebration is interrupted when Nightmare Moon, Celestia’s nemesis, returns to power and threatens to bring eternal night to Equestria. Twilight and the rest of the Mane Six discover the Elements of Harmony and use them to transform Nightmare Moon back into Princess Luna. Princess Celestia gives Twilight permission to remain in Ponyville to study the magic of friendship.Throughout the series, Twilight learns about the trials and rewards of friendship, periodically sending friendship reports to Princess Celestia. On rare occasions, Twilight and her friends work together to defeat powerful villains such as Discord, Queen Chrysalis, King Sombra, and Lord Tirek. In Magical Mystery Cure, Twilight completes an ancient unfinished magic spell with her deep understanding of friendship. Princess Celestia tells Twilight that she is ready for the next stage of her life, and Twilight transforms into an Alicorn and gains the title of princess. Twilight is first introduced in the series as being asocial. She politely refuses an invitation to Moon Dancer’s get-together and later states that she and Spike “don’t have time for that sort of thing.” When Celestia tells her to oversee the arrangements of the Summer Sun Celebration in Ponyville and to try and make friends, Twilight is indifferent to the latter request. Over the course of the series premiere, however, Twilight comes to accept her new friendships and expresses a desire to stay with her new friends in Ponyville. In Amending Fences, Twilight returns to Canterlot in an attempt to apologize to her former friends for her past actions. She succeeds with Twinkleshine, Lemon Hearts, and Minuette, but Moon Dancer coldly rebuffs the four mares. Minuette and Twilight liken Moon Dancer’s behavior to the way Twilight used to act. Twilight Sparkle is exceptionally talented at magic. In a flashback in The Cutie Mark Chronicles, Princess Celestia tells Twilight that she has never seen a unicorn with so much raw ability.