NEW YORK (AP) — Pedro Alvarez had lots of people at Citi Field rooting for him to go long.
Alvarez hit his 30th homer, connecting for his first career shot in the city where he was a prep star and leading the Pittsburgh Pirates over the New York Mets 10-6 on Tuesday night.
"Any time I can hit a home run at home, it's always special," he said.
Alvarez drove in four runs, to the delight of his own personal cheering sections scattered around the ballpark. Among those who always encourage him is his sister, who once worked for the Mets.
"Every time I looked up, I saw someone else," he said.
Wandy Rodriguez settled down after a shaky start as the Pirates ended New York's four-game winning streak.
Pittsburgh avoided elimination in the playoff race, remaining mathematically in contention for the second NL wild-card spot. The Pirates posted their 76th victory, the team's most since 1999 when they won 78.
David Wright lined his 20th homer and added a two-run single, tying the Mets' career record of 1,418 hits set by Ed Kranepool. Justin Turner and Wright connected in the first inning for the team's first set of consecutive home runs this season.
"I'm not comfortable talking about something individual like this when we've had our struggles in the second half, not having done what all of us thought we were capable of doing," Wright said. "But I'll enjoy it at some point. Probably not tonight."
Alvarez hit a three-run shot that made it 4-0 in the first inning. He drew a bases-loaded walk in the fifth, and the Pirates went on to win for just the sixth time in 24 games.
Tied for the NL Central lead a week after the All-Star game, Pittsburgh (76-78) has faded to seventh place in the wild-card standings and is trying to avoid a 20th straight losing season.
Garrett Jones hit his 25th homer and drove in three runs for the Pirates.
Rodriguez (12-13) recovered from a rocky first and left in the seventh with a 7-3 lead. He improved to 5-4 since being traded from Houston to Pittsburgh in late July.
Rodriguez threw 45 pitches in the first inning, so many that a reliever began warming up. Rodriguez ran the bases the next inning and Pirates manager Clint Hurdle said that helped his pitcher, who came out "a little too strong."
The Mets got one hit off Rodriguez after the opening inning, reversing his early struggles.