"Twilight's Kingdom" is the collective name for the twenty-fifth and twenty-sixth episodes of the fourth season of the animated television series My Little Pony: Friendship Is Magic, as well as the ninetieth and ninety-first episodes of the series overall. The two-part season finale deals with a new threat named Lord Tirek, who wants to rule Equestria by absorbing all magic, as well as Twilight Sparkle trying to learn what she should do with her new role as a princess. "Twilight's Kingdom" was directed by Jayson Thiessen, co-directed by Jim Miller, produced by Sarah Wall and Devon Cody, and written by Meghan McCarthy. It premiered on the Hub Network on May 10, 2014, with both parts airing back-to-back.