Cannot play media. Sorry, this media is not available in your territory.
Video - South Korea take baseball gold
South Korea kept up their undefeated streak in Beijing to take the gold medal with a narrow 3-2 victory over three-time Olympic champions Cuba.
South Korea pulled off a double play with the bases loaded in the ninth inning to seal their upset win over Cuba, who had to settle for silver.
The US won the bronze medal with an 8-4 victory over Japan.
It is the last Olympic appearance for baseball for at least eight years as it has been dropped for the 2012 Games.
Lee Seung-yuop put the South Koreans ahead with a two-run homer in the first inning.
Cuba put a point on the board later in the inning and added another in the seventh but the Koreans had already put another man over home plate.
Cuba could not equalise and with the bases loaded at the bottom of the ninth inning, South Korea closed the game with a double play.
South Korea had already twice beaten Cuba on the way to the final, handing the Latin American baseball powerhouse their only defeats of the Games.
Japan will be disappointed at not making the podium, having been tipped to make the final.
Brett Anderson pitched eight solid innings to set up the US victory.
The one real blemish on Anderson's record was Norichika Aoki's three-run homer in the top of the third, though the US quickly recovered with Matt Brown hitting his own three-run third in the bottom of the inning.
And with the game tied at four, the United States ultimately sealed victory in the fifth, though they survived a scare in the ninth when Shinnosuke Abe grounded out with the bases loaded.
Baseball has been taken off the Olympic roster for the 2012 Games in London, but IOC president Jacques Rogge said on Saturday that its chances of being reinstated would be improved with the selection of Major League players.