Snapped are the Dodgers winning streaks of five games overall and 10 games at home, and gone is also the Orioles' five-game losing streak.
The teams were tied 1-1 in the fifth inning, but Dodgers starter Kenta Maeda was laboring. He needed 73 pitches to get through four innings, and saw runners in scoring position in every inning. The only run Baltimore scored in the first four frames came with runners on the corners in the second, on a short fly ball that dropped in right field. Yasiel Puig alertly and quickly fielded the ball and threw to second base for a force out to help prevent a larger inning, but the run scored.
The Orioles were 0-for-7 with runners in scoring position in the first four innings, but would quickly get another chance thanks to a single by Adam Jones and a walk to Hyun Soo Kim to open the fifth inning. That brought up Machado, who earlier Tuesday was named an American League All-Star for the third time at age 23 (he turns 24 Wednesday), and the first time as a starter.
A seven-pitch at-bat ended with Machado crushing a curve ball into the fourth or fifth row from the back of the pavilion in left field, a whopping 453 feet, the longest home run of the season at Dodger Stadium.
The previous longest homer was a 451-foot shot by Kiké Hernandez on April 15 against San Francisco.
Machado's blast, once it sucked all the wind out of the stadium, ended the runners in scoring position drought for Baltimore, gave the Orioles a 4-1 lead, and ended the night for Maeda, who at four innings tied his shortest outing of the season.
The Orioles ended their night 1-for-12 with runners in scoring position. But that one was a big one.
I'll show you
Machado nearly had the Orioles' first hit with runners in scoring position in the first inning, driving a ball to the right center field wall with Kim on second base. But instead, center fielder Trayce Thompson made a fantastic running catch to rob him of extra bases.
In the sixth inning, Machado showed he's not all offense, robbing Thompson on a ground ball to third base with a throw from the third base coach's box to return the favor, shades of former Orioles great Brooks Robinson robbing Lee May in the 1970 World Series.
Rested RISPy business
The Dodgers scored their only run in the first inning, with the usual suspects in play. Corey Seager doubled to left field with one out, then scored on a single by Adrian Gonzalez for a quick 1-0 lead.
For Seager, it extended his hitting streak to 18 games, and for Gonzalez, who was 2-for-4, it continued his hot streak since being held out of the starting lineup for the final two games in Pittsburgh. In the eight games since the Pirates series, Gonzalez is 11-for-24 (.458) with six walks and seven RBI.
Gonzalez has an RBI in six of his last seven plate appearances with runners in scoring position. The other time up in that situation, he drew a walk.
But one run was all the Dodgers could tally against Chris Tillman, who allowed five hits and two walks while striking out two in his seven innings, a length not reached by a Dodgers starter since June 20, 14 games ago.
Seager was the only Dodgers All-Star to appear in Tuesday's game, with no late lead for Kenley Jansen and Clayton Kershaw on the shelf.
Baltimore had five players named to the American League All-Star team, and used all five on Tuesday night. In addition to Machado's home run, outfielder Mark Trumbo and catcher Matt Wieters combined to go 3-for-7 with two walks.
Both Orioles All-Star relievers pitched as well. Brad Brach struck out all three batters he faced in the eighth, lowering his ERA to 0.99. His first two batters faced were left-handed, but he finished off the inning by striking out Thompson, Brach's bread and butter. Right-handed batters are now just 7-for-82 (.085) this season against Brach, with 34 strikeouts and seven walks.
Then closer Zach Britton took over in the ninth and though the left-hander allowed a hit, still recorded his 24th save thanks to two strikeouts of his own. Britton's ERA is now 0.78.
Yasiel Puig walked in the first inning, then again in the sixth. It was his first multi-walk game of the season, giving him five walks in his last six games, totaling 23 plate appearances. Before that, Puig had nine walks in his first 61 games and 226 plate appearances this season.
Since returning from the disabled list on June 21, Puig is hitting .364 (16-for-44) in 14 games with a .451 on-base percentage, and has reached base in 12 of his 13 starts.
Catch me if you can
In the bottom of the fourth inning, on the ninth pitch of a would-be plate appearance by Chris Taylor, Howie Kendrick was thrown out trying to steal second base by Wieters, ending the inning. It was the first caught stealing of the season for Kendrick, who leads the Dodgers with seven steals on the year.
It was the first caught stealing for Kendrick since April 8, 2015, when Derek Norris and Andrew Cashner combined to nab Kendrick at second base. Kendrrick stole 12 bases in between getting caught.
The LA Dodgers record for stolen bases in a season without getting caught is 10, set by Jamey Carroll in 2011.
It's a quick turnaround for these teams with a nooner on Wednesday, and Bud Norris on the mound for the Dodgers. The Orioles send former Dodgers draft pick Kevin Gausman to the hill in the series finale.
Home run: Manny Machado (19)
WP - Chris Tillman (11-2): 7 IP, 5 hits, 1 run, 2 walks, 2 strikeouts
LP - Kenta Maeda (7-6): 4+ IP, 7 hits, 4 runs, 3 walks, 5 strikeouts
Sv - Zach Britton (24): 1 IP, 1 hit, 2 strikeouts