Aubrey Huff played a huge role on the 2010 San Francisco Giants team that won the World Series, but his controversial social media activity will keep him from being a part of the team’s anniversary celebration.

The Giants will not invite Huff to their Aug. 16 10-year reunion of the title team, citing “unacceptable” comments made by Huff as the reason why.

“Earlier this month, we reached out to Aubrey Huff to let him know that he will not be included in the upcoming 2010 World Series Championship reunion,” the Giants said in a statement. “Aubrey has made multiple comments on social media that are unacceptable and run counter to the values of our organization. While we appreciate the many contributions that Aubrey made to the 2010 championship season, we stand by our decision.”

Huff, 43, posted a picture of himself in November holding up a shooting range target sheet full of bullet holes, tweeting that he was teaching his kids “how to use a gun in the unlikely event @BernieSanders beats @realDonaldTrump in 2020. In which case knowing how to effectively use a gun under socialism will be a must.”

In January, Huff tweeted about trying to “kidnap” Iranian women. “We can bring them back here as they fan us and feed us grapes, amongst other things,” he wrote. Huff tried to justify the tweet by saying, “Does nobody have a sense of humor anymore!?”

After the Giants promoted Alyssa Nakken to assistant coach, making her the first full-time female assistant in MLB history, Huff wrote, “This has #metoo & #BelieveAllWomen written all over it. Only in @SFGiants.” He also sent a message to current Giants Brandon Crawford, Brandon Belt and Buster Posey, writing, “Couldn’t imagine taking baseball instruction from an ex female softball player. 🙄 Have fun with that @bcraw35 @bbelt9 @BusterPosey.”

“Quite frankly, shocked. Disappointed. If it wasn’t for me, they wouldn’t be having a reunion,” Huff told The Athletic. “But if they want to stick with their politically correct, progressive bulls–t, that’s fine.”

Huff later posted a long message on Twitter in which he said he was told the team “didn’t approve of my Twitter posts, and my political support of Donald Trump.”

In 2010, Huff finished seventh in the NL MVP voting after hitting .290/.385/.506 with 26 homers and 86 RBIs. He hit .268 in the playoffs with a homer and eight RBIs.