Updated

ST. PETERSBURG, Fla. (AP) Pinch-hitter Brandon Guyer led off the ninth inning with a tying homer and Kevin Kiermaier beat out a two-out single for the winning run as the Tampa Bay Rays rallied past the Baltimore Orioles 7-6 Sunday.

Chris Davis hit his major league-leading 43rd homer for the Orioles, who lost for the fourth time in 12 games. Baltimore started the day 4 1-2 games behind Houston for the second AL wild card.

Trying for his 35th save, Zach Britton (4-1) instead let a 6-5 lead get away and wound up with his fourth blown chance.

After Guyer homered, Evan Longoria hit a one-out triple. Logan Forsythe was intentionally walked, Richie Shaffer drew another walk to load the bases and Joey Butler struck out. Kiermaier followed with a slow roller to second and hustled for a hit.

Kirby Yates (1-0) got two outs in the ninth for the win.