Jason Bourgeois hit an RBI single to cap Tampa Bay's two-run rally in the ninth inning and the Rays ended a six-game losing streak, beating the Seattle Mariners 5-4 Wednesday night.

The Rays trailed 4-3 when Ben Zobrist opened the ninth with a triple off the top of the right-field wall against rookie Danny Farquhar (0-1).

Matt Joyce singled to tie it, Evan Longoria doubled and Will Myers was intentionally walked to load the bases. Bourgeois singled to right over the Mariners' drawn-in outfield.

Joel Peralta (2-5) pitched one inning. Farquhar didn't retire any of the five batters he faced.

[Associated Press]