As the outs piled up, the little voice in Derek Holland’s head kept getting louder.
‘‘You can execute this pitch! You can throw it!’’ the Texas lefthander told himself, over and over. ‘‘You’re going to make this pitch!’’
He certainly did.
Holland tamed a team that often tagged him, tossing a two-hitter as the Rangers finished up an impressive road trip by beating the New York Yankees, 2-0, Thursday at Yankee Stadium.
How special was this performance? Not since Seattle’s Matt Young in 1983 had a visiting lefty blanked the Yankees on two or fewer hits.
‘‘You think positive thoughts,’’ Holland said. ‘‘You can’t let any negativity get in there.
‘‘I haven’t had great success against these guys. They've destroyed me.’’
Holland began the game at 0-5 with an 8.85 ERA against the Yankees in regular-season play.
Holland (6-4) threw his sixth career shutout — it was the lowest-hit shutout by a visiting Rangers pitcher against the Yankees since the Texas franchise moved from Washington for the 1972 season.
The 26-year-old Holland struck out struck seven, walked two and didn’t give up a hit after the third inning. His 92-pitch performance produced his first win in five starts.
Jurickson Profar homered and scored twice, while fellow rookie Engel Beltre, who the Rangers acquired from the Red Sox as a 17-year-old as part of the Eric Gagne trade in 2007, got the first two hits of his big league career.
A leadoff single by Ichiro Suzuki in the first and a two-out single by Austin Romine in the third were the lone hits off Holland. New York managed a mere one runner after a leadoff walk in the fourth.
The 20-year-old Profar, rated among the top prospects in baseball, led off the fifth with his third home run of the season.
Profar also scored on a sacrifice fly by Ian Kinsler in the third inning.
Orioles 7, Indians 3 — Chris Davis drove in the tiebreaking run on a fielder’s choice in a five-run fifth inning, and host Baltimore rallied past Cleveland.
The Orioles used six hits and two errors to erase a 3-2 deficit in the fifth, salvaging a split in the four-game series.
Nick Markakis, Matt Wieters, and J.J. Hardy had RBIs during the comeback, which prevented the Indians from a fifth straight series victory for the first time since 2006.
Miguel Gonzalez (6-3) won for the fourth time in five decisions. He allowed three runs on nine hits over 6⅔ innings, walking none and matching a career high with nine strikeouts.
Lonnie Chisenhall and Mike Aviles homered for the Indians.
Twins 3, Royals 1 —
Deduno (4-2) gave up only five hits and one walk. He struck out three and let only eight fair balls leave the infield. Glen Perkins notched his 20th save in 22 tries with a scoreless ninth inning despite allowing a walk and a double.
The Twins managed to beat Jeremy Guthrie (7-6). The righthander topped them twice earlier this season and brought a 6-2 record over nine previous career matchups into the game.
Oswaldo Arcia had an RBI single and Justin Morneau had two doubles and an RBI.
Salvador Perez hit a homer for the Royals.
Cubs 7, Brewers 2 — Matt Garza struck out 10 in seven innings and Dioner Navarro hit a three-run homer, sending visiting Chicago past Milwaukee.
Garza (3-1) had his third consecutive strong outing. The righthander allowed one run on eight hits and a walk while throwing 101 pitches.
The Cubs broke the game open with four runs in the third, capped by Navarro’s seventh homer. Milwaukee made a pair of errors and all the runs in the inning off Wily Peralta (5-9) were unearned.
Garza spent the first seven weeks of the season on the disabled list with a left lat strain sustained in spring training. He was making his eighth start since returning on May 21, and has given up only two earned runs over 22 innings in his last three outings.
Milwaukee’s Juan Francisco homered for the third consecutive game, his ninth this year, but committed a costly error in the fourth that led to three unearned runs.
Diamondbacks 3, Nationals 2 — Didi Gregorius drove in the go-ahead run with a bunt single in the 11th inning and Aaron Hill homered as Arizona won in Washington to salvage the finale of a three-game series.
Miguel Montero led off the 11th with a ground-rule double off Craig Stammen (4-3). A.J. Pollock ran for Montero and Cody Ross bunted him to third. After Jason Kubel drew a walk, Gregorius bunted down the first-base line. Pollock ran on contact and scored the go-ahead run and Gregorius beat the throw at first.
Ian Desmond homered for the Nationals.
Arizona’s Patrick Corbin, who came in 9-0, and Stephen Strasburg matched up for seven innings with each allowing two runs.
Mets 3, Rockies 2 — Marlon Byrd hit a go-ahead homer in the eighth inning and threw out a runner from right field in the ninth to lead New York past Colorado in Denver in a makeup game for the one that was snowed out on April 17.
With the Mets trailing, 2-1, Byrd drove a fastball from reliever Matt Belisle (4-5) into the seats in left-center. Starting pitcher Jeremy Hefner drove in the team’s other run on a groundout.
Michael Cuddyer had three singles for Colorado to extend his hitting streak to a franchise-record 24 games, but was thrown out by Byrd trying to stretch one of them into a double leading off the ninth.
Dodgers 6, Phillies 4 — Yasiel Puig hit a two-out, two run single in the seventh inning to lift Los Angeles past visiting Philadelphia. Zack Greinke pitched seven innings, allowing four runs on 12 hits for the Dodgers.
Domonic Brown and Chase Utley both homered for the Phillies