Yangervis Solarte was walked by Heath Bell (0-1) to open the 12th. After failing twice to bunt against C.J. Riefenhauser, Brett Gardner reached on a fielder's choice and went to third on Brian McCann's two-out single. Jacoby Ellsbury was intentionally walked before Anna checked his swing to complete an eight-pitch at-bat and score the go-ahead run.
Beltran had his hit off Josh Leuke before Alfonso Soriano added an RBI single that made it 5-1.
Preston Claiborne (1-0) went two scoreless innings for the Yankees.