After taking a trip to Neverland this October, Pan star Levi Miller will make a beeline for National City.

The young actor — who plays the title role in this fall’s big-screen Peter Pan origin story — has been cast in CBS’ Supergirl as Carter Grant, the son of Calista Flockhart’s Cat Grant, TVLine has learned exclusively.

Miller is set to make his Supergirl debut in Episode 4. Per the official character description, 12-year-old Carter is “sensitive and shy” and “couldn’t be more different from his mom.” As Melissa Benoist’s Kara babysits her boss’s son and gets to know him better, “Carter finally opens up to her — revealing his true feelings for Supergirl.”

The gig reunites Miller with Greg Berlanti (an EP on both Supergirl and Pan). “We loved working with him so much on Pan, we were excited to bring him into Supergirl‘s universe,” said Berlanti and his fellow Supergirl producers in a joint statement to TVLine. “He’s an exceptional young actor and a part of the Berlanti Productions family. It will be fun for audiences, who we know will fall in love with him as Peter in Pan on Oct 9, to see his range with his turn as Calista Flockhart’s American son.”

It should be noted that Miller’s character is independent of Adam Morgan, Cat’s son who appeared in the DC Comics.

VIDEOS New Supergirl Trailer Touches Down — Plus: EPs Respond to Costume, Casting Controversies

Miller previously appeared on Fox’s short-lived Terra Nova and can also be seen in the forthcoming Blue Dog.

Supergirl takes flight Monday, Oct. 26, at 8:30/7:30c, before moving into its regular Mondays-at-8 time slot on Nov. 2.