“Obi-Wan Kenobi” star Ewan McGregor slammed social media users who sent his co-star Moses Ingram hundreds of racist messages — calling them fake “Star Wars” fans.

“I just wanted to say as the leading actor in the series, as the executive producer on the series, that we stand with Moses; we love Moses,” McGregor said in a video statement posted by the official “Star Wars” Twitter account Tuesday night.

“And if you’re sending her bullying messages, you’re no ‘Star Wars’ fan in my mind. There’s no place for racism in this world and I totally stand with Moses,” he said.

Ingram revealed on Monday that she received “hundreds” of racist messages since the Disney Plus series debuted on May 27.

The 29-year-old actress, who plays a Jedi hunter Inquisitor named Reva, shared some of the messages to her Instagram stories.

McGregor said his co-star shared some of the attacks she was sent with him, calling them “the most horrendous, racist DMs.”

“We are proud to welcome Moses Ingram to the Star Wars family and excited for Reva’s story to unfold. If anyone intends to make her feel in any way unwelcome, we have only one thing to say: we resist,” they wrote in a rare statement.

Kelly Marie Tran, 33, received backlash online for her role as Rose Tico in “The Last Jedi,” and John Boyega, 30, also experienced racism after being cast as Finn in the “Star Wars” sequel trilogy.