Pirates acquire catcher Francisco Cervelli from Yankees in exchange for reliever Justin Wilson

FILE - In this May 15, 2014, file photo, Pittsburgh Pirates relief pitcher Justin Wilson throws during the sixth inning of a baseball game against the Milwaukee Brewers in Milwaukee. The Pittsburgh Pirates have acquired catcher Francisco Cervelli from the New York Yankees in exchange for reliever Wilson. (AP Photo/Morry Gash, File) (The Associated Press)

FILE - In this July 25, 2014, file photo, New York Yankees closer David Robertson, left, celebrates with catcher Francisco Cervelli after the Yankees defeated the Toronto Blue Jays in a baseball game at Yankee Stadium in New York. The Pittsburgh Pirates have acquired catcher Cervelli from the New York Yankees in exchange for reliever Justin Wilson. (AP Photo/Bill Kostroun, File) (The Associated Press)

The Pittsburgh Pirates have acquired catcher Francisco Cervelli from the New York Yankees in exchange for reliever Justin Wilson.

Mainly a backup with the Yankees, the 28-year-old Cervelli batted .301 with two homers and 13 RBIs in 49 games last season.

The Pirates could have an opening at catcher if they are unable to re-sign Russell Martin, a free agent who declined the team's $15.3 million qualifying offer after helping Pittsburgh to consecutive playoff berths.

The energetic Cervelli was once a backup to Martin with the Yankees.

The left-handed Wilson and his upper-90s (mph) fastball were a vital part of the Pirates' bullpen this year. He went 3-4 with a 4.20 ERA in 70 appearances, striking out 61 in 60 innings.

Cervelli is a .278 career hitter who has been slowed by various injuries throughout his career. He also served a 50-game suspension in 2013 for his role in the Biogenesis drug scandal.