A transgender child actor will guest star on Wednesday night’s Modern Family.

Director Ryan Case has posted a picture of herself alongside eight-year-old Jackson Millarker, who identifies as a boy, on Instagram.

Ryan wrote that Jackson would play a boy named Tom, who is a friend of Lily.

Modern Family
Modern Family’s Mitchell (Jesse Tyler Ferguson) and Cameron (Eric Stonestreet) (Fox/Sky)

Lily (Aubrey Anderson-Emmons) is the daughter of Cam and Mitchell, played on the show by Eric Stonestreet and Jesse Tyler Ferguson. A spokeswoman for ABC has confirmed Jackson’s appearance.

The director says that Jackson is “just wonderful” and one of many reasons she loves being a part of the show.

Her full caption reads: “This is Jackson Millarker. He’s eight-years-old, from Atlanta, and just happens to be transgender.

“He plays Lily’s friend Tom in this week’s Modern Family and he’s wonderful. One of the many reasons I love being a part of this show.”

A synopsis of the episode titled A Stereotypical Day says Cam and Mitchell overhear Lily insulting Tom and use the moment to teach her a lesson about acceptance.

The popular US series is in its eighth season and also stars Sofia Vergara, Ed O’Neill and Julie Bowen.