In My Little Pony: Friendship Is Magic, Twilight Sparkle is sent to Ponyville by Princess Celestia to study the "magic of friendship." Her title becomes Alicorn Princess and Student of Friendship.
This mission drives the series' core narrative: learning that friendship is a powerful force through practical experience with the Mane Six.