NEW YORK (Reuters) - Florida All-Star shortstop Hanley Ramirez exited the Marlins' 4-3 victory over the New York Mets in the sixth inning with a sprained left shoulder on Tuesday.

Ramirez landed on the shoulder after diving for a ball in shallow left field. He stayed on the ground for several minutes but was clearly in pain as he was escorted to the clubhouse by the team's trainer and manager Jack McKeon.

The game was tied 2-2 at the time of the injury, before the Marlins (55-55) rallied for victory.

Ramirez has been listed as "day-to-day." It was not clear how much time he could miss.

The 27-year-old shortstop is a three-time All-Star and was the 2009 National League batting champion, but has hit just .243 this season.

(Writing by Jahmal Corner in Los Angeles; Editing by Ian Ransom)