MINNEAPOLIS (AP) — The Minnesota Twins and starting pitcher Michael Pineda agreed Thursday to a two-year, $20 million contract to bring the right-hander back after a suspension for a banned diuretic, according to a person familiar with the negotiations.

The person spoke to The Associated Press on condition of anonymity, because the deal, pending completion of a physical exam, had not been finalized.

READ MORE: What A North Minneapolis Elementary School Is Doing To Help Traumatized Students

Pineda went 11-5 with a 4.01 ERA in 26 starts for the Twins in 2019, before Major League Baseball announced Sept. 7 a 60-game suspension for a positive test for Hydrochlorothiazide, which can be used for weight loss and blood pressure management. It’s outlawed because it can mask the presence of steroids.

Michael Pineda (credit: Brian Blanco/Getty Images)

READ MORE: 'This Cannot Continue': Minnesota Leaders React To Deadly Texas School Shooting

That kept Pineda out of the postseason for the American League Central champion Twins, who were swept in three games in the division series by the New York Yankees. Pineda, who will turn 31 next month, will have a significant chunk of the suspension left to serve before he can take the mound for the Twins.

Pineda was one of four starters in Minnesota’s rotation who became free agents this fall. The Twins re-signed Jake Odorizzi to supplement fellow All-Star Jose Berrios, but there is still a spot or two to likely be filled on the market this winter.

MORE NEWS: 'They All Have A Different Story': Save The Boards Reminds Mpls. Of Impact Of George Floyd's Murder

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)