ST. PETERSBURG (AP) – Alex Cobb pitched two-hit ball for seven innings, B.J. Upton homered and the Tampa Bay Rays beat the Miami Marlins 3-0 on Sunday.

Cobb (3-3), who had lost his previous three starts, struck out a career-high 10, walked one and hit a batter. He allowed only Gaby Sanchez’s third-inning ground single to center until Greg Dobbs had a two-out single in the seventh.

READ MORE: Tributes To Congresswoman Carrie Meek

After Joel Peralta worked a perfect inning, Fernando Rodney pitched the ninth for his 19th save and to complete the two-hitter.

Tampa Bay rookie Matt Moore and two relievers combined on a one-hitter in an 11-0 win over the Marlins on Friday night.

Upton put the Rays up 1-0 on a first-inning leadoff homer. It was his first home run since May 22.

Josh Johnson (4-5) allowed two runs and eight hits in six innings for the Marlins, who have dropped 10 of 12. He had gone 4-1 over his previous seven starts.

Johnson’s loss was his first interleague defeat since June 23, 2007, against Minnesota, a stretch that included six wins in nine starts before Sunday.

READ MORE: Banksy 'Charlie Brown' Sells For $4 Million, While Child Prodigy Thrills Crowd With His Artwork

The teams were coming off a 15-inning game Saturday night that lasted 5 hours, 7 minutes and was won 4-3 by the Marlins.

Elliot Johnson drew a two-out walk, stole second and scored to make it 2-0 on Drew Sutton’s single in the sixth. Ben Zobrist extended the lead on a seventh-inning RBI single.

Josh Johnson got defensive help in the third when Sanchez made a nice grab at first base on Hideki Matusi’s liner with runners on first and third and turned it into an unassisted inning-ending double play.

The Rays had two on with one out during the fourth, but Johnson worked out of the jam by striking out Sutton and Sean Rodriguez. The right-hander also got a one-out double-play grounder from Matusi one inning later with two runners on.

Tampa Bay second baseman Will Rhymes, after Donovan Solano’s grounder in the fifth was deflected by Cobb, used his glove to shove the ball to first to retire the Marlins’ infielder.

MORE NEWS: Plantation Teen Charged With Extorting Florida Senator Lauren Book With Explicit Photos

(©2012 CBS Local Media, a division of CBS Radio Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)