Click photo to enlarge
American League's Yoenis Cespedes, of the Oakland Athletics, hits his fourth home run in the second round during the MLB All-Star baseball Home Run Derby, on Monday, July 15, 2013 in New York. (AP Photo/Kathy Willens)

NEW YORK -- Yoenis Cespedes has won baseball's Home Run Derby, becoming the first player left out of the All-Star game to take home the crown.

The A's slugger beat Bryce Harper 9-8 in the final round Monday night at reconfigured Citi Field, hitting the decisive drive with five swings to spare.

In only his second major league season, the outfielder from Cuba dropped his bat and raised his arm when he sent his 32nd homer of the night some 455 feet to deep center field, where it caromed off the back wall of the black batter's eye. He was swarmed by the American League All-Stars near the third-base line. The final addition to the field, Cespedes was the fourth player not selected for the All-Star game to compete in the event.

He is the first Oakland player to win the derby since Mark McGwire did so at San Diego's Jack Murphy Stadium in 1992.

Cespedes hit 17 home runs to dominate the first round and hit six more in the second round to advance to the final.

Cespedes put on a show for the Citi Field crowd, reaching the third deck with several of his blasts. His first-round total was the third-most for a single round in the event's history, behind only Josh Hamilton's 28 in 2008 and Bobby Abreu's 24 in 2005.

None of the other seven contestants hit more than eight home runs, with Harper and Baltimore's Chris Davis reaching that total.

After two quick outs, Cespedes went deep four times in succession and was on his way.

"The key is not to get ahead of yourself," Cespedes told ESPN through interpreter Pedro Gomez, "not to get accelerated, to wait for a pitch you can handle."

Wire services contributed to this report.