The Pirates claimed right-hand reliever Nefi Ogando off waivers from the Miami Marlins Friday and designated infielder Jason Rogers for assignment.

Ogando, 27, allowed four earned runs in 152/3 innings with the Marlins in 2016. He went on the 15-day disabled list because of a broken rib, suffered when he collided with Cesar Hernandez while covering first base on May 8. He also appeared in the majors in 2015 with the Philadelphia Phillies, who acquired him from the Boston Red Sox in 2013. Boston signed him in 2010.

The Marlins had designated Ogando for assignment Dec. 16.

Rogers, 28, went 2 for 25 in 23 games with the Pirates last season. The Pirates sent Keon Broxton and Trey Supak to Milwaukee for Rogers last December.