Yankees shortstop Gleyber Torres (25) celebrates with second baseman DJ LeMahieu (26) after turning a triple play to defeat the Oakland Athletics 2-1 at Yankee Stadium. Wendell Cruz-USA TODAY Sports

The New York Yankees set an MLB record during their win over the Oakland A’s on Sunday, and they did it in style.

With the Yankees leading 2-1 in the top of the ninth inning, it looked like closer Aroldis Chapman was in serious trouble after he walked the first two batters. That was before he got Sean Murphy to ground into a game-ending triple play. You can see the play below:

The triple play did more than just win the game for the Yankees. It also happened to be their third triple play of the year, which tied the MLB record for most triple plays in a season. They now have 91 games remaining to break the record.

Given how much they have struggled lately, the Yankees were in need of a jolt. Perhaps a game-ending, record-tying triple play will provide it.

More must-reads:

TODAY'S BEST
Lions sign veteran defensive tackle
NBA makes decision on Jamal Murray discipline
Rudy Gobert's Defensive Player of the Year award redeems reputation of darkness retreats
Sharks win 2024 NHL Draft Lottery, get No. 1 pick for first time
Knicks center out for Game 2 vs. Pacers
John Calipari recruiting another top player from Kentucky
Astros GM makes revealing comments about team's trade-deadline strategy amid poor start
Giants designate right-hander for assignment
Former All-Star shares concerns of potential Knicks burnout
Chiefs' Rashee Rice reportedly under investigation for alleged assault
Ryan Garcia takes big step following positive drug test
Cowboys VP backs Dak Prescott despite lack of contract extension
Cubs get major boost to lineup as former MVP returns from IL
Ohio State tops analyst's college football post-spring Top 25
Lions bringing back safety after gambling suspension
Tyler Boyd signs with AFC team
NHL announces 2024 Hart Trophy finalists
Jimmy Butler's agent responds to Heat president's criticism of star client
Giants claim former Patriots QB off waivers
Nuggets melt down under Timberwolves' pressure to go down 0-2