ST. LOUIS — It's official. Adam Wainwright is back in the fold for 2020.

The Cardinals announced an agreement on a one-year contract with their 38-year-old veteran on Tuesday.

The Athletic's Ken Rosenthal is reporting the deal is worth $5 million guaranteed with another $5 million in incentives.

2020 will be Wainwright's 16th season with the Cardinals, the third most by any pitcher with the franchise.

Watch: Adam Wainwright talks after Cardinals are eliminated for 2019 playoffs

Wainwright had a solid season with the Cardinals in 2019, where he went 14-10 with a 4.19 ERA in 31 starts pitching on a one-year incentive-laden deal.

Wainwright was the first Cardinals pitcher since Pete Alexander in 1928 to post 14 or more wins at age 38 or older.

RELATED: It's time for one last ride together for Adam Wainwright and Yadier Molina in 2020

Cardinals team president John Mozeliak said last week that Wainwright and the club were working towards a new contract for 2020.

"We are excited to have Adam returning for 2020 and look forward to watching him continue to add to his tremendous career legacy with the Cardinals," Mozeliak said in a statement.

RELATED: Ranking the best Cardinals games of 2019

RELATED: Sports Plus Podcast: Chargers relocation rumors, local college hoops preview, high school scandals and Simba’s case for Cooperstown

RELATED: Kolten Wong showed us exactly what he can be in 2019

RELATED: Cardinals, Wainwright in talks for 2020 contract

RELATED: Opinion | I’ll bank on a Matt Carpenter comeback over signing Mike Moustakas

RELATED: Cardinals' Mike Shildt named finalist for NL Manager of the Year