Free agent pitcher Mike Leake and the St. Louis Cardinals have agreed to an $80 million, five-year contract.

General manager John Mozeliak announced the deal at a news conference on Tuesday.

A 28-year-old right-hander, Leake is 64-52 with a 3.88 ERA in six big league seasons. He was 11-10 with a 3.70 ERA for Cincinnati and San Francisco last season, totaling 30 starts and 190 innings.

Ace Adam Wainwright, who returned late in the season from a torn left Achilles tendon, heads a rotation that includes Carlos Martinez, who was sidelined in September by a shoulder injury but is anticipated to be ready for spring training. Jaime Garcia and Michael Wacha also are expected to start, and Marco Gonzales and Tyler Lyons could earn rotation spots.

St. Louis failed in efforts to retain outfielder Jason Heyward and add pitcher David Price earlier this offseason.