The MLB All-Star Game is both a midseason competition for championship home field advantage and for the players a time to celebrate their accomplishments so far this season. For Milwaukee Brewers pitcher Josh Hader it ended up being a time where he issued apologies for past tweets.

While he was on the mound at his first All-Star Game social media erupted as old tweets that were of racist, misogynistic and homophobic nature were highlighted on the timeline.

At the conclusion of the midseason classic Hader apologized for the past tweets and disclosed that they were issued when he was 17-years-old.

“I was in high school,” Hader said. “We’re still learning who we are in high school. You live and you learn. This mistake won’t happen again.”

Hader has recently deleted his Twitter account but the messages that resurfaced included the use of the N-word, inappropriate comments about women and members of the LGBT community and displays of belief in white supremacy.

Major League Baseball state they will provide a mandatory sensitivity training for Hader, along with the necessity to participate in diversity and inclusion efforts.

During the game, Hader’s family reportedly changed jerseys. They were originally dressed in jerseys with his name and number on the back but switched to plain ones.

“I’m deeply sorry for what I said … it doesn’t reflect any of my beliefs now,” Hader said in his post-game interview.

View a clip from Hader’s post-game interview below.