Sean Gilmartin, who was designated assignment in order to make room on the 40-man roster for Seth Lugo, was claimed off waivers by the St. Louis Cardinals on Sunday.

Gilmartin, 27, appeared in just two games for the Mets in 2017, pitching to a 13.50 ERA.

Since debuting with the team in 2015, the southpaw has accrued a 3-3 record with a 4.14 ERA in 66 games.

The Mets also announced they signed RHP Daniel Bard to a minor-league deal. The former Red Sox reliever had a 3.67 ERA in 211 appearances from 2009 to 2013, his last year in the majors.

Bard has spent this season playing for St. Louis’ Double-A affiliate, going 0-1 with a 10.38 ERA in 10 relief appearances.