Tommy Gilligan-USA TODAY Sports

Anthony Santander hit a one-out home run in the bottom of the ninth inning to give the Baltimore Orioles a 1-0 victory against the New York Yankees in Friday night's opener of a three-game series.

It turned into a splendid pitching matchup between All-Star Gerrit Cole of the Yankees and rookie Grayson Rodriguez of the Orioles in a game delayed for 2 1/2 hours before the first pitch because of messy weather.

Santander's 18th home run of the season was the only extra-base hit in the game. It came off Tommy Kahnle (1-1).

The AL East-leading Orioles snapped a two-game skid, and the last-place Yankees were shut out for the fifth time. Felix Bautista (6-1), the fifth Baltimore pitcher, struck out two batters in a perfect ninth for the victory.

Aaron Judge was in the Yankees lineup as the designated hitter and batting in the No. 2 spot after sitting out since June 3 because of a torn toe ligament. He went 0-for-1 with three walks.

Cole departed after seven shutout innings that included a season-high 110 pitches. He gave up three hits without a walk and struck out five. Michael King and Wandy Peralta followed Cole on the mound for the Yankees.

Rodriguez threw 6 1/3 spectacular innings, limiting the Yankees to three singles. The highly regarded right-hander walked two and struck out four.

Rodriguez came out after DJ LeMahieu's one-out single in the seventh. Shintaro Fujinami was summoned from the bullpen. After Billy McKinney walked, Harrison Bader grounded into a double play.

It was just Fujinami's fourth game with Baltimore since arriving in a trade from Oakland.

In their 12th game since the All-Star break, the Yankees failed to score more than three for the seventh time.

The Yankees put two runners on base in the eighth, with Jake Bauers providing a one-out, pinch-hit single and Judge drawing his third walk with two outs. That threat developed against Yennier Cano and ended when Danny Coulombe induced Anthony Rizzo's groundout.

Through six innings, there were a total of five hits -- three for the Orioles, two for the Yankees -- and all of them were singles.

More must-reads:

TODAY'S BEST
Former MLB infielder Sean Burroughs dies at 43 years old
Angels superstar explains why he chose not to play through knee injury
Cardinals catcher's injury timeline revealed
Suns hire ex-NBA champion as new head coach
Frank Vogel fell victim to a Suns ownership group eager to win
Luka Doncic hands OKC first playoff loss with gutsy Game 2 effort
Three takeaways as Rangers take commanding 3-0 series lead on Hurricanes
Rams make surprising move with former team captain
Ohio State AD is wrong for thinking Michigan wins deserve asterisk
Padres OF Jurickson Profar is a legitimate MVP candidate
Steelers' Cameron Heyward comments on controversial Justin Fields idea
Pacers coach claims officials are biased against 'small market' teams
14-year-old phenom signs unprecedented MLS deal that includes future Man City transfer
Tiger Woods, Rory McIlroy's 'soured' relationship paints murky future for PGA Tour
Stars almost blow another lead, even series with Avalanche
Auburn's Hugh Freeze uncomfortable with 'bidding wars' for top players in transfer portal
Cavaliers punch back, blow out Celtics in Game 2
Coach: Oilers star center could miss Game 2 vs. Canucks
Watch: Cavaliers' Evan Mobley turns defense into offense in Game 2 vs. Celtics
Xander Schauffele tops stacked leaderboard after first round of Wells Fargo Championship