Charles Barkley will make a cameo appearance on Wednesday's episode of "The Goldbergs."
The show's Twitter account shared a behind-the-scenes clip from the episode, which will see Barkley play a substitute gym teacher named Neelo Greene.
"Having Sir Charles Barkley on set was a thrill," show creator Adam F. Goldberg said, according to NBA.com. "Charles was amazingly gracious - taking the time to joke around with the cast and crew, and making sure he didn't leave before every person on that set got a handshake."
"The Goldbergs" is based on Goldberg's experiences growing up in the Philadelphia suburbs in the 1980s.
The episode will air Wednesday at 8 p.m. ET on ABC.