PITTSBURGH (AP) -- David Freese misplayed a groundball at third base, allowing Steven Souza Jr. to score in the 10th inning and giving the Tampa Bay Rays a 4-2 win over the Pittsburgh Pirates on Tuesday night.
With Souza at first base and no outs, Wilson Ramos hit a hard grounder off Felipe Rivero (3-2) that Freese missed while trying to backhand. Adeiny Hechavarria added a sacrifice fly in the inning, giving him two RBIs in his first game since being traded from the Miami Marlins on Monday.
The Pirates were no-hit through six innings by starter Alex Cobb, but Andrew McCutchen forced extra innings with a two-run double down the left field line in the ninth.
Tommy Hunter pitched the 10th for his first save of the season.
Cobb allowed two hits with four strikeouts over eight scoreless innings. He lost his no-hitter when Josh Harrison led off the seventh with a single. Harrison also had a walk in the fourth.
With the Rays leading 1-0, McCutchen followed Harrison's hit with a single to right, which gave the Pirates runners on first and second with no outs. Pittsburgh failed to take advantage, as Josh Bell hit into a double play and Freese grounded out to third.
The Rays extended their lead when Hechavarria drove in Tim Beckham in the eighth.
Pirates right-hander Trevor Williams also impressed, outside of a rough fourth inning.
After getting through the first three innings on 27 pitches, Williams struggled with his command in the fourth, leading to the Rays' opening run. Corey Dickerson singled to right and later scored on Souza's groundout.
Williams allowed two runs and six hits with seven strikeouts in seven innings. He struck out the side in the fifth and forced Evan Longoria into an inning-ending double play in the sixth.
The Pirates moved McCutchen to the third in the order, with Gregory Polanco sliding to sixth. McCutchen was 2 for 4 with two RBIs. In 28 games batting sixth, he hit .380 with eight home runs after his average fell to .200 on May 23.
Pirates: LHP Antonio Bastardo was activated from the 10-day disabled list. A left quadriceps strain has kept him out since April 24.
Rays: LHP Blake Snell (0-4, 4.71 ERA) will look for his first win in his ninth start of the season Wednesday. He last pitched May 13, when he allowed six runs and six hits against the Boston Red Sox.
Pirates: RHP Ivan Nova (7-5, 3.06) will make his 16th start. He allowed four runs and 11 hits in seven innings in his last start against the Milwaukee Brewers on June 22.