The New York Yankees seemed all, but dead heading into the 9th inning on Wednesday night. Down 7-3 and struggling to hit the ball and get runners on base, the Yankees did something they haven't done since May 12th 2010 in Detroit. The Yankees went on to score six runs in the 9th inning, capped off by a Didi Gregorius walk-off 2-run home run to beat the Texas Rangers 9-7.

"Probably the biggest win of the year for us," Alex Rodriguez said after the win.

Heading into the 8th inning, trailing 7-2, the Yankees had a win probability of 1.2 percent according to Fangraphs.

Brian McCann homered twice; once in the 8th and later in the 9th to tie the game. He is the first Yankee to do that since Tony Clark in 2004.

Then with the game tied at seven, Starlin Castro worked a five-pitch walk to bring up Didi Gregorius. Gregorius sent a 1-0 fastball by Rangers pitcher Sam Dyson over the auxiliary scoreboard in right field for the game winning home run; the first of his career.

"I didn't know it was gone like right away. After I stepped on first, that's when I saw it," Gregorius said. "I didn't smile because I didn't want to smile, but as soon as I rounded third, see all the guys there, everybody cheering, I had to smile right there."

"There's a sense of urgency," manager Joe Girardi said. "As days tick away, you start to run out of time, and you don't want to bury yourself."

Masahiro Tanaka had a lackluster performance that culminated in the 3rd inning where he gave up four runs. Luis Cessa relieved Tanaka in the 7th inning and earned his first career major league win.

The Yankees now look to Michael Pineda to put together a strong performance against A.J. Griffin as they try to split the series with the Rangers.

More From 104.5 THE TEAM