Marlins 2B Derek Dietrich takes foul ball to head in dugout

ATLANTA -- Second baseman Derek Dietrich's big day at the plate ended with a scary injury in the dugout.

Dietrich hit a tiebreaking, two-run homer and drove in four runs before being struck on the back of his head by a foul ball hit into his dugout, and the Miami Marlins beat Atlanta 7-3 on Sunday to avoid being swept by the last-place Braves for the second time this season.

Marlins manager Don Mattingly said Dietrich did not lose consciousness after he "got hit really good" by the foul ball hit by Christian Yelich in the ninth. Mattingly said the ball ricocheted off the dugout's back wall before hitting Dietrich.

Dietrich was knocked to the ground, where he remained face down in front of the bench for a few minutes before rising to his feet. He was escorted to the clubhouse, where he was seen by a doctor.

The team said X-rays were negative and Dietrich was to remain in Atlanta on Sunday night for further evaluations.

"Everyone's thoughts are with him," said Marlins starter Tom Koehler (3-5), who got the win and allowed three runs on three hits and five walks in seven-plus innings. "Hopefully it's just a headache and nothing serious."

Dietrich's homer in the sixth landed deep in the lower section of the right-field seats, giving Miami a 3-1 lead. The former Georgia Tech star added a two-run double off Eric O'Flaherty in the seventh inning.