R.A. Dickey continued to make his case for the NL Cy Young Award on Thursday, striking out 13 Pirates over 7 2/3 innings to earn his 20th win as the Mets topped Pittsburgh 6-5 at in the season finale at Citi Field.

David Wright's tie-breaking three-run blast in the fifth inning - his 21st homer - put New York on top 6-3. It was a three-hit day for Wright, just one night after setting the franchise's all-time mark.

Dickey (20-6) yielded three runs on eight hits but shed no runs after getting the lead, becoming the first Met to 20 wins since Frank Viola in 1990.

Ike Davis continued a powerful second half with clubbing 31st dinger off Bucs starter Kevin Correia (11-11).

Alex Presley took Jon Rauch over the wall in the ninth for a two run shot, making it a one run game, but Bobby Parnell got the final two outs for his fifth save.