ATLANTA -- For Braves manager Brian Snitker, playing the matchups meant pitching to Manny Machado with first base open and a marathon game on the line.
The Orioles slugger made that strategy look foolish.
Machado hit a tiebreaking two-run homer in the 15th inning, lifting Baltimore to a 10-7 win over Atlanta on Friday night after each team staged dramatic ninth-inning rallies.
The Braves surrendered six runs in the ninth, and then scored four times in the bottom of the inning.
Peter Moylan, Atlanta's eighth pitcher, hit Craig Gentry to open the 15th. Gentry moved to second on Austin Wynns' sacrifice.
With first base open, the Braves pitched to Machado and he responded with his 19th homer, a drive into the Orioles' bullpen in left.
Snitker said the right-handed Moylan is tough on right-handed hitters but acknowledged "you hate like hell (Machado) is one of them."
Machado said an intentional walk "crossed my mind at first. I thought they were. In that situation they probably had faith in Moylan out there that he could get some ground balls to the left side of the infield."
Machado hit a 0-2 slider Moylan said was "supposed to be middle in." Moylan said the pitch "slipped out of my hand and ended up middle middle."
Moylan (0-1) gave up another run on singles by Colby Rasmus and Jonathan Schoop.
Mike Wright Jr. (1-0), Baltimore's seventh pitcher, threw two scoreless innings.
The game lasted 5 hours, 21 minutes.
The Orioles trailed 3-1 heading into the ninth, and the Braves rallied against closer Zach Britton in the bottom of the inning. Braves closer Arodys Vizcaino was not used while Dan Winkler allowed four runs while recording only one out.
Snitker said he rested Vizcaino because of shoulder soreness and he might be available on Saturday.
Chris Davis hit a drought-breaking homer and drove in the go-ahead run with a sacrifice fly as Baltimore opened a 7-3 lead.
Britton got one out and was charged with four runs and five hits. He gave up a single to Johan Camargo and a double to Danny Santana before hitting Ender Inciarte to load the bases.
Ozzie Albies' bases-loaded single drove in Camargo. Freddie Freeman's two-run single cut the lead to one before Nick Markakis tied the game with a double to right field.
Atlanta had jumped in front on Charlie Culberson's tiebreaking two-run double in the eighth.
Davis, making his first start since June 11, hit his first homer since May 9 in the fifth. Camargo tied the game with his run-scoring double in the seventh.
Braves left-hander Sean Newcomb allowed five hits in seven innings.
Orioles right-hander Alex Cobb permitted four hits in seven innings
The start of the game was delayed 11 minutes by rain.