Pedro Alvarez hit his 30th homer and drove in four runs, leading Wandy Rodriguez and the Pittsburgh Pirates over the Mets 10-6 on Tuesday night, ending New York's four-game winning streak.

Elsa, Getty Images

 

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 homered and added a two-run single, tying the Mets' career record of 1,418 hits set by Ed Kranepool.

Alvarez hit a three-run shot that made it 4-0 in the first inning. He drew a bases-loaded walk in the fifth, helping the Pirates win for just the sixth time in 24 games.

Garrett Jones hit his 25th homer and drove in three runs for the Pirates.

Rodriguez (12-13) improved to 5-4 since being traded from Houston to Pittsburgh in late July.

(Copyright 2012 by The Associated Press.  All Rights Reserved.)