The San Francisco Giants signed free agent left-hander Drew Pomeranz to a one-year contract on Wednesday.

The team did not disclose financial details, but The Athletic’s Ken Rosenthal reported the deal was worth $1.5 million with a max value of $5 million with incentives.

Pomeranz, 30, was a National League All-Star in 2016 with the San Diego Padres and a 17-game winner with the Boston Red Sox in 2017.

He was 2-6 with a 6.08 ERA in 26 games (11 starts) for the Red Sox last season. He spent two stints on the 10-day disabled list with a left forearm flexor strain and with left biceps tendinitis.

In eight seasons with the Colorado Rockies (2011-13), Oakland Athletics (2014-15), Padres (2016) and Red Sox (2016-18), he has compiled a 44-48 record with a 3.92 ERA and 687 strikeouts in 710 innings.