With top prospect Andrew Heaney waiting in the wings for a big league call-up, there is no telling how much longer Randy Wolf will have a spot in the Marlins rotation.

On Monday night, at least, the 37-year-old left-hander accomplished something only one other Marlins starter had done since 2011 — he beat the Tampa Bay Rays.

Using a slow-moving slider, a changeup and a fastball that never eclipsed 89 mph, Wolf dazzled the Rays for six innings, striking out seven and giving up only one run on three hits to lead the home team to a 3-1 victory in front of 18,155 at Marlins Park.

“Randy was great,” manager Mike Redmond said. “You saw a veteran go out there and control the strike zone, change speeds, mix and match. He was able to throw all his pitches for strikes, keep them off balance. It was a tremendous effort — exactly what we needed.”

Coming off a rough start in which he gave up six runs in five innings, Wolf bounced back and became the oldest Marlins starting pitcher to win a game since 39-year-old Al Leiter won his final game in teal on June 19, 2005.

“It's been a long crazy road, especially recently,” said Wolf, who missed all of the 2013 season after undergoing his second career Tommy John surgery. “Having an unknown future, you are kind of counted out because of your age and it being the second [surgery]. But it was a gratifying feeling to work hard and come back and have the win.”

The Marlins (29-28) scored all three runs off Rays starter Alex Cobb in the first inning, and rode Wolf and the bullpen from there after Cobb settled in. Before Monday, the Marlins had lost 10 of their last 13 games against Tampa (23-35), including five in a row. Cobb was 2-0 with a 0.68 ERA against the Marlins.

But Casey McGehee put the Marlins in front 2-0 with a bases-loaded single to center four batters in. Giancarlo Stanton then scored when Garrett Jones bounced into a double play moments later.