The Minnesota Twins and former Pirates right-hander Ryan Vogelsong have agreed to terms on a minor league contract that includes an invitation to major league camp, according to the Minneapolis Star-Tribune.

The report cites an anonymous source. If the deal becomes final, it will leave Neftali Feliz as the only unsigned Pirates free agent. Ivan Nova returned, Sean Rodriguez signed with the Atlanta Braves and the Oakland Athletics signed Matt Joyce.

Vogelsong, 39, joined the Pirates as a free agent prior to last season after winning two World Series rings in San Francisco in 2012 and ’14. He had a 4.81 ERA in 82⅓ innings. Vogelsong began the year in the bullpen after Juan Nicasio earned a rotation spot out of spring training.

During a spot start May 23, Vogelsong was hit in the face with a Jordan Lyles fastball. He had surgery to repair facial fractures and returned Aug. 4, posting a 3.44 ERA in six starts that month.

Pirates pitchers and catchers have their first spring training workout Feb. 14, and the first full-squad workout is Feb. 17.