The American League beat the National League, 4-2, in the All-Star Game on Tuesday night in San Diego, earning home field advantage in this year's World Series.
Dellin Betances struck out two in a scoreless seventh inning and Andrew Miller allowed three runners in 2/3 of an inning before being bailed out in the eighth inning.
Carlos Beltran went 0-for-1 at the plate.
The AL got two RBIs from Eric Hosmer, who hit a solo homer in the second inning and delivered an RBI single in the third inning while taking home MVP honors.
Salvador Perez also delivered a two-run homer for the AL in the second inning.
Kris Bryant's home run in the first inning gave the NL a brief 1-0 lead.