Updated

Matt Joyce homered and the Tampa Bay Rays snapped their five-game losing streak with a 6-3 win over the Detroit Tigers on Monday night.

Tampa Bay got within 1½ games of first-place New York, and Detroit lost for the eighth time in 10 games to stay nine behind Chicago in the AL Central.

David Price (15-5) struggled with his command, walking four batters in five innings, but nine strikeouts helped him allow just two runs.

Three Rays relievers finished, with Rafael Soriano pitching the ninth for his 32nd save in 34 tries. The four Tampa Bay pitchers combined for 13 strikeouts.

Armando Galarraga (3-5) allowed four runs in five innings. Galarraga has only won one of 11 starts since nearly throwing a perfect game on June 2.

Joyce, who broke up Max Scherzer's no-hit bid with a grand slam on July 26, led off the third with another homer against the Tigers.

Tampa Bay then scored twice on sacrifice flies, the first by Ben Zobrist later in the third and the next by Joyce in the fourth.

The teams traded runs in the fifth. Evan Longoria's RBI double gave the Rays a 4-1 lead in the top of the inning. Ryan Raburn hit a RBI single in the bottom half, but Price struck out the next three hitters, hitting 100 mph on his 115th and final pitch of the night.

Brennan Boesch's 14th homer made it 4-3 off Joaquin Benoit in the eighth, but Jaso and Crawford singled home insurance runs in the top of the ninth.

In the first inning, Tigers left-fielder Jeff Frazier threw out John Jaso out after Carl Crawford's shallow fly ball. Detroit took advantage to go up 1-0 on Gerald Laird's RBI single in the second.

NOTES: The Rays placed RHP Jeff Niemann (shoulder strain) on the 15-day disabled list before the game and called up reliever Mike Ekstrom from Triple-A Durham. After the game, they placed fellow starter RHP Wade Davis on the disabled list with the same injury and called up RHP Jeremy Hellickson, who will start in place of Davis on Tuesday. ... Ramon Santiago, who made his major-league debut in 2002, started at designated hitter for the first time in his career. He was the Tigers' 10th starting DH this season. ... Joyce's homer ended a 0 for 18 slump that included 10 strikeouts. ... In Longoria's first plate appearance since breaking up Brandon Morrow's no hitter Sunday with two out in the ninth, he faced Galarraga, the only other pitcher this season to lose a no-hit bid with two out in the ninth.