Photo:Kevin Sabitus/Getty

Wander Franco #5 of the Tampa Bay Rays looks on from the dugout during the third inning against the Oakland Athletics at Tropicana Field on April 08, 2023 in St Petersburg, Florida.

Kevin Sabitus/Getty

Major League Baseball and the Tampa Bay Rays have placed Wander Franco on the restricted list amid an MLB investigation surrounding social media posts made about the All-Star shortstop on Sunday.

Now-deleted posts on X (formerly Twitter) over the weekend alleged that Franco was involved in an inappropriate relationship with a minor,according to theTampa Bay Times.

The Rays confirmed that the team and the league “mutually agreed” about the move.“We were made aware of the social media posts that are circulating regarding Wander Franco,” the team said on Sunday. “We take the situation seriously and are in close contact with Major League Baseball as it conducts its due diligence."

Franco, 22, was seen in the dugout at the game on Sunday against the Cleveland Guardians, but left in the fifth inning,USA Todayreported.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from celebrity news to compelling human interest stories.

Cliff Welch/Icon Sportswire via Getty

Tampa Bay Rays Shortstop Wander Franco (5) throws the ball over to first base during the MLB regular season game between the Cleveland Guardians and the Tampa Bay Rays on August 12, 2023, at Tropicana Field in St. Petersburg, FL

This season has been one of highs and lows for the standout player from the Dominican Republic.

On Friday night, Franco hit a walk-off home run, andhe has a .281 batting average and 17 home runsthis year.

One month later, he made his first All-Star team as a replacement for an injuredAaron Judge.

source: people.com